Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BM/tdx-guest/tdx_mem_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ mem_accept_func() {
test_print_trc "stress-ng prerequisites is ready for use"
fi
bootup_vmstat=$(grep "nr_unaccepted" /proc/vmstat | cut -d' ' -f2)
stress-ng --vm 1 --vm-bytes 10% --timeout 3s
stress-ng --vm 1 --vm-bytes 100% --timeout 3s
stress_vmstat=$(grep "nr_unaccepted" /proc/vmstat | cut -d' ' -f2)
if [[ "$bootup_vmstat" -gt "$stress_vmstat" ]]; then
test_print_trc "TD VM unaccepted memory func test PASS"
Expand Down