Skip to content

Commit 1a96104

Browse files
committed
update invalid method.
1 parent 8399c65 commit 1a96104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/gnmi/test_gnoi_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_gnoi_system_reboot_fail_invalid_method(duthosts, rand_one_dut_hostname,
5454
duthost = duthosts[rand_one_dut_hostname]
5555

5656
# Trigger reboot with invalid method
57-
ret, msg = gnoi_request(duthost, localhost, "Reboot", '{"method": 2}')
57+
ret, msg = gnoi_request(duthost, localhost, "Reboot", '{"method": 99}')
5858
pytest_assert(ret != 0, "System.Reboot API did not report failure with invalid method")
5959

6060

0 commit comments

Comments
 (0)