Skip to content

Commit

Permalink
Update bindings to conform to 5.21 format
Browse files Browse the repository at this point in the history
  • Loading branch information
msmygit committed Jul 18, 2024
1 parent 5571e07 commit 370b467
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions compose/nosqlbench-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cat /source/nb-tests/schema.cql | cqlsh zdm_tests_proxy
echo "Running NoSQLBench RAMPUP job"
java -jar /nb5.jar \
--show-stacktraces \
/source/nb-tests/cql-nb-activity.yaml \
/source/nb-tests/cql_nb_activity.yaml \
rampup \
hosts=zdm_tests_proxy \
localdc=datacenter1 \
Expand All @@ -39,7 +39,7 @@ java -jar /nb5.jar \
echo "Running NoSQLBench WRITE job"
java -jar /nb5.jar \
--show-stacktraces \
/source/nb-tests/cql-nb-activity.yaml \
/source/nb-tests/cql_nb_activity.yaml \
write \
hosts=zdm_tests_proxy \
localdc=datacenter1 \
Expand All @@ -49,7 +49,7 @@ java -jar /nb5.jar \
echo "Running NoSQLBench READ job"
java -jar /nb5.jar \
--show-stacktraces \
/source/nb-tests/cql-nb-activity.yaml \
/source/nb-tests/cql_nb_activity.yaml \
read \
hosts=zdm_tests_proxy \
localdc=datacenter1 \
Expand All @@ -60,7 +60,7 @@ echo "Running NoSQLBench VERIFY job on ORIGIN"
java -jar /nb5.jar \
--show-stacktraces \
--report-csv-to /source/verify-origin \
/source/nb-tests/cql-nb-activity.yaml \
/source/nb-tests/cql_nb_activity.yaml \
verify \
hosts=zdm_tests_origin \
localdc=datacenter1 \
Expand All @@ -70,7 +70,7 @@ echo "Running NoSQLBench VERIFY job on TARGET"
java -jar /nb5.jar \
--show-stacktraces \
--report-csv-to /source/verify-target \
/source/nb-tests/cql-nb-activity.yaml \
/source/nb-tests/cql_nb_activity.yaml \
verify \
hosts=zdm_tests_target \
localdc=datacenter1 \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
bindings:
seq_key: Mod(TEMPLATE(keycount,1000000000)); ToInt();
seq_value: Hash(); Mod(TEMPLATE(valuecount,1000000000)); ToString() -> String
rw_key: TEMPLATE(keydist,Uniform(0,1000000000)->int);
rw_value: Hash(); TEMPLATE(valdist,Uniform(0,1000000000)->int); ToString() -> String
# rw_key: TEMPLATE(keydist,Uniform(0,1000000000)->int);
rw_key: Uniform(0,1000000000)->int
# rw_value: Hash(); TEMPLATE(valdist,Uniform(0,1000000000)->int); ToString() -> String
rw_value: Hash(); Uniform(0,1000000000)->int; ToString() -> String

scenarios:
rampup: run driver=cqld4 tags=block:rampup cycles=20000
Expand Down

0 comments on commit 370b467

Please sign in to comment.