@@ -34,7 +34,7 @@ import (
34
34
"google.golang.org/grpc/internal/testutils/xds/e2e"
35
35
"google.golang.org/grpc/internal/xds/bootstrap"
36
36
"google.golang.org/grpc/internal/xds/clients"
37
- xds_client "google.golang.org/grpc/internal/xds/clients/xdsclient"
37
+ ixdsclient "google.golang.org/grpc/internal/xds/clients/xdsclient"
38
38
"google.golang.org/grpc/internal/xds/xdsclient"
39
39
"google.golang.org/grpc/internal/xds/xdsclient/xdsresource"
40
40
"google.golang.org/protobuf/types/known/wrapperspb"
@@ -736,8 +736,8 @@ func (s) TestEDSWatch_ExpiryTimerFiresBeforeResponse(t *testing.T) {
736
736
if err != nil {
737
737
t .Fatalf ("Failed to parse bootstrap contents: %s, %v" , string (bc ), err )
738
738
}
739
- SetOriginalWatchExpiryTimeout := xds_client .SetWatchExpiryTimeoutForTesting (defaultTestWatchExpiryTimeout )
740
- defer SetOriginalWatchExpiryTimeout ()
739
+ revertWatchExpiryTimeout := ixdsclient .SetWatchExpiryTimeoutForTesting (defaultTestWatchExpiryTimeout )
740
+ defer revertWatchExpiryTimeout ()
741
741
pool := xdsclient .NewPool (config )
742
742
client , close , err := pool .NewClientForTesting (xdsclient.OptionsForTesting {Name : t .Name ()})
743
743
if err != nil {
@@ -779,8 +779,8 @@ func (s) TestEDSWatch_ValidResponseCancelsExpiryTimerBehavior(t *testing.T) {
779
779
if err != nil {
780
780
t .Fatalf ("Failed to parse bootstrap contents: %s, %v" , string (bc ), err )
781
781
}
782
- SetOriginalWatchExpiryTimeout := xds_client .SetWatchExpiryTimeoutForTesting (defaultTestWatchExpiryTimeout )
783
- defer SetOriginalWatchExpiryTimeout ()
782
+ revertWatchExpiryTimeout := ixdsclient .SetWatchExpiryTimeoutForTesting (defaultTestWatchExpiryTimeout )
783
+ defer revertWatchExpiryTimeout ()
784
784
pool := xdsclient .NewPool (config )
785
785
client , close , err := pool .NewClientForTesting (xdsclient.OptionsForTesting {Name : t .Name ()})
786
786
if err != nil {
0 commit comments