commit | ee45437683f4cbd3637b9326cfe4a9aa52d53647 | [log] [tgz] |
---|---|---|
author | Girish Moturu <gmoturu@google.com> | Mon Oct 14 11:23:02 2019 -0700 |
committer | Girish Moturu <gmoturu@google.com> | Mon Oct 14 11:23:02 2019 -0700 |
tree | 5df4c38d564fdc3033fd905550ef0184babf8d56 | |
parent | 68fc887be5f648560b080113fdbf4cc32791f615 [diff] |
[DataPathTest] Skip the test if less than 3 devices Bug: 140202697 Test: Verified the changes Change-Id: I4181083c34ce9216fa535d5068ba3693ad176d83
diff --git a/acts/tests/google/wifi/aware/functional/DataPathTest.py b/acts/tests/google/wifi/aware/functional/DataPathTest.py index 3f68376..cf939bf 100644 --- a/acts/tests/google/wifi/aware/functional/DataPathTest.py +++ b/acts/tests/google/wifi/aware/functional/DataPathTest.py
@@ -2159,8 +2159,8 @@ The NDPs are all OPEN (no encryption). """ - asserts.assert_true( - len(self.android_devices) >= 3, + asserts.skip_if( + len(self.android_devices) < 3, 'A minimum of 3 devices is needed to run the test, have %d' % len( self.android_devices))