Snap for 7214043 from c18374acd914b9ca31da7ecb1a9c6f2fb57abe14 to r-keystone-qcom-release

Change-Id: Ia789dc6a24769e81a2a319f6587afedf95809cc2
diff --git a/tests/resolv_integration_test.cpp b/tests/resolv_integration_test.cpp
index 95b5a5c..1e65007 100644
--- a/tests/resolv_integration_test.cpp
+++ b/tests/resolv_integration_test.cpp
@@ -4121,6 +4121,9 @@
     // The resolver will adjust the timeout value to 1000ms since the value is too small.
     ScopedSystemProperties scopedSystemProperties(kDotConnectTimeoutMsFlag, "100");
 
+    // Re-setup test network to make experiment flag take effect.
+    resetNetwork();
+
     // Set up resolver to opportunistic mode with the default configuration.
     const ResolverParamsParcel parcel = DnsResponderClient::GetDefaultResolverParamsParcel();
     ASSERT_TRUE(mDnsClient.SetResolversFromParcel(parcel));