foundationdb/tests/KVStoreMemTest.txt
Alex Miller 17570b5b10 Make the testspec more restrictive in terms of what can be set where.
Testspec is currently very permissive in very misleading ways.  In particular,
the tester parser itself will swallow K=V settings and apply them at the test
level, which breaks how a person would expect the scoping to work.  Other
settings apply to the entire simulation run globally, but appear to be workload
specific.  Even further, others affect simulation cluster creation or test
harness behavior, but can again be set anywhere in a testspec.

This changes testspec parsing to error if a setting that applies globally is
anywhere but the top of the file, or if a setting that applies test-wide is
applied to a workload instead of a test.
2020-07-06 02:03:30 -07:00

86 lines
1.5 KiB
Plaintext

testTitle=Insert
useDB=false
testName=KVStoreTest
testDuration=0.0
operationsPerSecond=28000
commitFraction=0.001
setFraction=0.01
nodeCount=2000000
keyBytes=16
valueBytes=96
filename=bttest
setup=true
clear=false
count=false
storeType=memory
testTitle=Insert
useDB=false
testName=KVStoreTest
testDuration=0.0
operationsPerSecond=28000
commitFraction=0.001
setFraction=0.01
nodeCount=2000000
keyBytes=16
valueBytes=96
filename=bttest
setup=true
clear=false
count=false
storeType=memory
testTitle=Insert
useDB=false
testName=KVStoreTest
testDuration=0.0
operationsPerSecond=28000
commitFraction=0.001
setFraction=0.01
nodeCount=2000000
keyBytes=16
valueBytes=96
filename=bttest
setup=true
clear=false
count=false
storeType=memory
testTitle=Scan
useDB=false
testName=KVStoreTest
testDuration=20.0
operationsPerSecond=28000
commitFraction=0.0001
setFraction=0.01
nodeCount=2000000
keyBytes=16
valueBytes=96
filename=bttest
setup=false
clear=false
count=true
storeType=memory
testTitle=RandomWriteSaturation
useDB=false
testName=KVStoreTest
testDuration=20.0
saturation=true
operationsPerSecond=10000
commitFraction=0.00005
setFraction=1.0
nodeCount=2000000
keyBytes=16
valueBytes=96
filename=bttest
setup=false
clear=false
count=false
storeType=memory