We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d53ece commit c6c68a7Copy full SHA for c6c68a7
pkg/kubelet/oom/oom_watcher_linux_test.go
@@ -38,17 +38,6 @@ func (fs *fakeStreamer) StreamOoms(outStream chan<- *oomparser.OomInstance) {
38
}
39
40
41
-// TestStartingWatcher tests that the watcher, using the actual streamer
42
-// and not the fake, starts successfully.
43
-func TestStartingWatcher(t *testing.T) {
44
- fakeRecorder := &record.FakeRecorder{}
45
- node := &v1.ObjectReference{}
46
-
47
- oomWatcher, err := NewWatcher(fakeRecorder)
48
- assert.NoError(t, err)
49
- assert.NoError(t, oomWatcher.Start(node))
50
-}
51
52
// TestWatcherRecordsEventsForOomEvents ensures that our OomInstances coming
53
// from `StreamOoms` are translated into events in our recorder.
54
func TestWatcherRecordsEventsForOomEvents(t *testing.T) {
0 commit comments