commit | 6dcb4177e2ae7f4a3854cb145ba82bbd22b8803e | [log] [tgz] |
---|---|---|
author | Badhri Jagan Sridharan <badhri@google.com> | Wed Jan 04 22:45:03 2023 +0000 |
committer | Badhri Jagan Sridharan <badhri@google.com> | Wed Jan 04 22:45:03 2023 +0000 |
tree | e63a8e636a77a47773a34704ba386560470ec9fa | |
parent | bab42594b21401f537f86485464bbe8d6f9c161f [diff] |
Fix check for DisabledDataStatusCheck disabledCount is expected to be less than or equal to 1. Fix this by replacing EXPECT_LE with EXPECT_GE. Bug: 263977605 Change-Id: Id6c803fed814ae13c0f160bb644c31d5d6093738
diff --git a/usb/aidl/vts/VtsAidlUsbTargetTest.cpp b/usb/aidl/vts/VtsAidlUsbTargetTest.cpp index d87f1f4..aec9954 100644 --- a/usb/aidl/vts/VtsAidlUsbTargetTest.cpp +++ b/usb/aidl/vts/VtsAidlUsbTargetTest.cpp
@@ -307,7 +307,7 @@ } } } - EXPECT_LE(1, disabledCount); + EXPECT_GE(1, disabledCount); ALOGI("UsbAidlTest DataStatusCheck end"); }