[EthernetTetheringTest] Don't run setupOnce() if Ethernet is not
supported. BUG: 323896172 Test: atest CtsTetheringTest Change-Id: Ibb01d9783a480f0c4acc9385a04527b95ae15fbb Signed-off-by: Weilun Du <wdu@google.com>
This commit is contained in:
parent
d77b3c4af2
commit
2881157a6d
1 changed files with 1 additions and 0 deletions
|
|
@ -176,6 +176,7 @@ public abstract class EthernetTetheringTestBase {
|
|||
// tests, turn tethering on and off before running them.
|
||||
MyTetheringEventCallback callback = null;
|
||||
TestNetworkInterface testIface = null;
|
||||
assumeTrue(sEm != null);
|
||||
try {
|
||||
// If the physical ethernet interface is available, do nothing.
|
||||
if (isInterfaceForTetheringAvailable()) return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue