Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
hzxuzhonghu committed Apr 8, 2020
1 parent f9f438b commit 81b245c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/config/validation/virtualservice_test.go
Expand Up @@ -15,18 +15,18 @@
package validation

import (
"os"
"testing"

"github.com/gogo/protobuf/proto"
"github.com/gogo/protobuf/types"

networking "istio.io/api/networking/v1alpha3"

"istio.io/istio/pilot/pkg/features"
)

func TestValidateChainingVirtualService(t *testing.T) {
os.Setenv("PILOT_ENABLE_VIRTUAL_SERVICE_DELEGATE", "true")
defer os.Unsetenv("PILOT_ENABLE_VIRTUAL_SERVICE_DELEGATE")
features.EnableVirtualServiceDelegate = true
testCases := []struct {
name string
in proto.Message
Expand Down

0 comments on commit 81b245c

Please sign in to comment.