Skip to content

Commit fe7e73f

Browse files
committed
test(Sysman): Test to validate memory bandwidth counters with workload
Related-To: VLCLJ-2505 Signed-off-by: Aviral Nigam <[email protected]>
1 parent ec18ff9 commit fe7e73f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

conformance_tests/sysman/test_sysman_memory/src/test_sysman_memory.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ TEST_F(
275275
<< "Read counter did not increase after workload";
276276
EXPECT_GE(bandwidth_after.writeCounter, bandwidth_before.writeCounter)
277277
<< "Write counter did not increase after workload";
278-
EXPECT_GE(bandwidth_after.maxBandwidth, bandwidth_before.maxBandwidth)
279-
<< "Max bandwidth did not increase after workload";
280-
281278
auto percentage_bandwidth =
282279
1000000 *
283280
((bandwidth_after.readCounter - bandwidth_before.readCounter) +
@@ -288,7 +285,8 @@ TEST_F(
288285
LOG_INFO << "Percentage Bandwidth: " << percentage_bandwidth << "%";
289286
EXPECT_GT(percentage_bandwidth, 0.0)
290287
<< "Percentage bandwidth is not greater than zero";
291-
EXPECT_LT(percentage_bandwidth, 100.0);
288+
EXPECT_LT(percentage_bandwidth, 100.0)
289+
<< "Percentage bandwidth is greater than 100%";
292290
}
293291
// Free device memory
294292
lzt::free_memory(src_ptr);

0 commit comments

Comments
 (0)