Skip to content

Commit 370b467

Browse files
committed
Update bindings to conform to 5.21 format
1 parent 5571e07 commit 370b467

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

compose/nosqlbench-entrypoint.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cat /source/nb-tests/schema.cql | cqlsh zdm_tests_proxy
2929
echo "Running NoSQLBench RAMPUP job"
3030
java -jar /nb5.jar \
3131
--show-stacktraces \
32-
/source/nb-tests/cql-nb-activity.yaml \
32+
/source/nb-tests/cql_nb_activity.yaml \
3333
rampup \
3434
hosts=zdm_tests_proxy \
3535
localdc=datacenter1 \
@@ -39,7 +39,7 @@ java -jar /nb5.jar \
3939
echo "Running NoSQLBench WRITE job"
4040
java -jar /nb5.jar \
4141
--show-stacktraces \
42-
/source/nb-tests/cql-nb-activity.yaml \
42+
/source/nb-tests/cql_nb_activity.yaml \
4343
write \
4444
hosts=zdm_tests_proxy \
4545
localdc=datacenter1 \
@@ -49,7 +49,7 @@ java -jar /nb5.jar \
4949
echo "Running NoSQLBench READ job"
5050
java -jar /nb5.jar \
5151
--show-stacktraces \
52-
/source/nb-tests/cql-nb-activity.yaml \
52+
/source/nb-tests/cql_nb_activity.yaml \
5353
read \
5454
hosts=zdm_tests_proxy \
5555
localdc=datacenter1 \
@@ -60,7 +60,7 @@ echo "Running NoSQLBench VERIFY job on ORIGIN"
6060
java -jar /nb5.jar \
6161
--show-stacktraces \
6262
--report-csv-to /source/verify-origin \
63-
/source/nb-tests/cql-nb-activity.yaml \
63+
/source/nb-tests/cql_nb_activity.yaml \
6464
verify \
6565
hosts=zdm_tests_origin \
6666
localdc=datacenter1 \
@@ -70,7 +70,7 @@ echo "Running NoSQLBench VERIFY job on TARGET"
7070
java -jar /nb5.jar \
7171
--show-stacktraces \
7272
--report-csv-to /source/verify-target \
73-
/source/nb-tests/cql-nb-activity.yaml \
73+
/source/nb-tests/cql_nb_activity.yaml \
7474
verify \
7575
hosts=zdm_tests_target \
7676
localdc=datacenter1 \

nb-tests/cql-nb-activity.yaml renamed to nb-tests/cql_nb_activity.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
bindings:
22
seq_key: Mod(TEMPLATE(keycount,1000000000)); ToInt();
33
seq_value: Hash(); Mod(TEMPLATE(valuecount,1000000000)); ToString() -> String
4-
rw_key: TEMPLATE(keydist,Uniform(0,1000000000)->int);
5-
rw_value: Hash(); TEMPLATE(valdist,Uniform(0,1000000000)->int); ToString() -> String
4+
# rw_key: TEMPLATE(keydist,Uniform(0,1000000000)->int);
5+
rw_key: Uniform(0,1000000000)->int
6+
# rw_value: Hash(); TEMPLATE(valdist,Uniform(0,1000000000)->int); ToString() -> String
7+
rw_value: Hash(); Uniform(0,1000000000)->int; ToString() -> String
68

79
scenarios:
810
rampup: run driver=cqld4 tags=block:rampup cycles=20000

0 commit comments

Comments
 (0)