Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNewWatcherWithBadInputShouldFail (0.25 sec)

  1. pkg/config/mesh/watcher_test.go

    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/filewatcher"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    func TestNewWatcherWithBadInputShouldFail(t *testing.T) {
    	g := NewWithT(t)
    	_, err := mesh.NewFileWatcher(filewatcher.NewWatcher(), "", false)
    	g.Expect(err).ToNot(BeNil())
    }
    
    func TestWatcherShouldNotifyHandlers(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top