update tests for stmt form

This commit is contained in:
Jonathan Shook 2023-05-18 14:58:23 -05:00
parent b6fbcbded9
commit 963c481b26
2 changed files with 9 additions and 11 deletions

View File

@ -15,19 +15,17 @@
*/ */
activitydef1 = { activitydef1 = {
"alias" : "activity_error", "alias": "activity_error",
"driver" : "diag", "driver": "diag",
"cycles" : "0..1500000", "cycles": "0..1500000",
"threads" : "1", "threads": "1",
"targetrate" : "10", "targetrate": "10",
"op" : { "op": "log: modulo=1"
"log": "type=log modulo=1"
}
}; };
print('starting activity activity_error'); print('starting activity activity_error');
scenario.start(activitydef1); scenario.start(activitydef1);
scenario.waitMillis(2000); scenario.waitMillis(2000);
activities.activity_error.threads="unparsable"; activities.activity_error.threads = "unparsable";
scenario.awaitActivity("activity_error"); scenario.awaitActivity("activity_error");
print("awaited activity"); print("awaited activity");

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022 nosqlbench * Copyright (c) 2022-2023 nosqlbench
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -20,7 +20,7 @@ co_cycle_delay_bursty = {
"cycles": "0..1000000", "cycles": "0..1000000",
"threads": "10", "threads": "10",
"cyclerate": "1000,1.5", "cyclerate": "1000,1.5",
"op" : '{"log":{"level":"info","modulo":1000},"diagrate":{"diagrate":"500"}}' "op" : "diagrate: diagrate=500"
}; };
print('starting activity co_cycle_delay_bursty'); print('starting activity co_cycle_delay_bursty');