From 8c557e16cc3b935cbdf2db9395142d0368a9196e Mon Sep 17 00:00:00 2001 From: "Galantsev, Dmitrii" Date: Mon, 21 Aug 2023 16:44:37 -0500 Subject: [PATCH] TESTS - Fix incorrect TestVoltCurvRead assert if not supported Change-Id: I2242aa9be84543276c63f1f57fdc489754c9ee07 Signed-off-by: Galantsev, Dmitrii [ROCm/rocm_smi_lib commit: 613bd8ad1d96381370c63a0a9208ce487614c04b] --- .../tests/rocm_smi_test/functional/volt_freq_curv_read.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocm-smi-lib/tests/rocm_smi_test/functional/volt_freq_curv_read.cc b/projects/rocm-smi-lib/tests/rocm_smi_test/functional/volt_freq_curv_read.cc index c7a27a04f7..84f77d6afc 100755 --- a/projects/rocm-smi-lib/tests/rocm_smi_test/functional/volt_freq_curv_read.cc +++ b/projects/rocm-smi-lib/tests/rocm_smi_test/functional/volt_freq_curv_read.cc @@ -171,7 +171,7 @@ void TestVoltCurvRead::Run(void) { CHK_ERR_ASRT(err) // Verify api support checking functionality is working err = rsmi_dev_od_volt_info_get(i, nullptr); - ASSERT_EQ(err, RSMI_STATUS_NOT_SUPPORTED); + ASSERT_EQ(err, RSMI_STATUS_INVALID_ARGS); } if (err == RSMI_STATUS_SUCCESS) {