forked from opensearch-project/opensearch-migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Startup an OpenSearch Benchmark container, but put don't run tests up…
…on startup... Instead, put the tests into a shell script that can be invoked when the user wants to run it. That also lets the user run other tests too. Signed-off-by: Greg Schohn <[email protected]>
- Loading branch information
1 parent
0801254
commit 0fd973c
Showing
3 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
TrafficCapture/dockerSolution/src/main/docker/openSearchBenchmark/runTestBenchmarks.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
echo "Running opensearch-benchmark w/ 'geonames' workload..." && | ||
opensearch-benchmark execute-test --distribution-version=1.0.0 --target-host=https://captureproxy:9200 --workload=geonames --pipeline=benchmark-only --test-mode --kill-running-processes --workload-params "target_throughput:0.5,bulk_size:10,bulk_indexing_clients:1,search_clients:1" --client-options="use_ssl:true,verify_certs:false,basic_auth_user:admin,basic_auth_password:admin" && | ||
echo "Running opensearch-benchmark w/ 'http_logs' workload..." && | ||
opensearch-benchmark execute-test --distribution-version=1.0.0 --target-host=https://captureproxy:9200 --workload=http_logs --pipeline=benchmark-only --test-mode --kill-running-processes --workload-params "target_throughput:0.5,bulk_size:10,bulk_indexing_clients:1,search_clients:1" --client-options="use_ssl:true,verify_certs:false,basic_auth_user:admin,basic_auth_password:admin" && | ||
echo "Running opensearch-benchmark w/ 'nested' workload..." && | ||
opensearch-benchmark execute-test --distribution-version=1.0.0 --target-host=https://captureproxy:9200 --workload=nested --pipeline=benchmark-only --test-mode --kill-running-processes --workload-params "target_throughput:0.5,bulk_size:10,bulk_indexing_clients:1,search_clients:1" --client-options="use_ssl:true,verify_certs:false,basic_auth_user:admin,basic_auth_password:admin" && | ||
echo "Running opensearch-benchmark w/ 'nyc_taxis' workload..." && | ||
opensearch-benchmark execute-test --distribution-version=1.0.0 --target-host=https://captureproxy:9200 --workload=nyc_taxis --pipeline=benchmark-only --test-mode --kill-running-processes --workload-params "target_throughput:0.5,bulk_size:10,bulk_indexing_clients:1,search_clients:1" --client-options="use_ssl:true,verify_certs:false,basic_auth_user:admin,basic_auth_password:admin" && | ||
sleep 30 && | ||
curl --insecure https://captureproxy:9200/ |