From 89e0ec80e30f55ad7b40d17e0ea09ed1c91f37ed Mon Sep 17 00:00:00 2001 From: Prabhakar Sithanandam Date: Sat, 15 Jun 2024 11:02:50 +0530 Subject: [PATCH] Fixing the unit test to reflect the right process command line Signed-off-by: Prabhakar Sithanandam --- tests/utils/process_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/process_test.py b/tests/utils/process_test.py index 07f6c84d1..6c57d4c5a 100644 --- a/tests/utils/process_test.py +++ b/tests/utils/process_test.py @@ -124,7 +124,7 @@ def test_kills_only_benchmark_processes(self, process_iter): other_process = ProcessTests.Process(104, "init", ["/usr/sbin/init"]) benchmark_process_p = ProcessTests.Process(105, "python3", ["/usr/bin/python3", "~/.local/bin/opensearch-benchmark"]) # On Linux, the process name is truncated to 15 characters. - benchmark_process_l = ProcessTests.Process(106, "opensearch-benc", ["/usr/bin/python3", "~/.local/bin/osbenchmark"]) + benchmark_process_l = ProcessTests.Process(106, "opensearch-benc", ["/usr/bin/python3", "~/.local/bin/opensearch-benchmark"]) benchmark_process_e = ProcessTests.Process(107, "opensearch-benchmark", ["/usr/bin/python3", "~/.local/bin/opensearch-benchmark"]) benchmark_process_mac = ProcessTests.Process(108, "Python", ["/Python.app/Contents/MacOS/Python", "~/.local/bin/opensearch-benchmark"])