Annotate NetworkRequestTest as ConnectivityModuleTest.

This class is in the Tethering module, so any time we update it,
the tests are likely to fail unless Tethering is installed.

Fix: 324367069
Test: TH (test-only change)
Change-Id: I3d906e261939ff70225deeddff91cc6a83efe264
This commit is contained in:
Lorenzo Colitti 2024-02-09 08:31:08 +00:00
commit 91aa85f115

View file

@ -64,6 +64,7 @@ import com.android.networkstack.apishim.ConstantsShim;
import com.android.networkstack.apishim.NetworkRequestShimImpl;
import com.android.networkstack.apishim.common.NetworkRequestShim;
import com.android.networkstack.apishim.common.UnsupportedApiLevelException;
import com.android.testutils.ConnectivityModuleTest;
import com.android.testutils.DevSdkIgnoreRule;
import com.android.testutils.DevSdkIgnoreRule.IgnoreUpTo;
@ -74,6 +75,7 @@ import org.junit.runner.RunWith;
import java.util.Set;
@RunWith(AndroidJUnit4.class)
@ConnectivityModuleTest
public class NetworkRequestTest {
@Rule
public final DevSdkIgnoreRule ignoreRule = new DevSdkIgnoreRule();