Skip to content

Commit c6c68a7

Browse files
committed
remove oom TestStartingWatcher ""unit"" test
1 parent 7d53ece commit c6c68a7

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

pkg/kubelet/oom/oom_watcher_linux_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,6 @@ func (fs *fakeStreamer) StreamOoms(outStream chan<- *oomparser.OomInstance) {
3838
}
3939
}
4040

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-
5241
// TestWatcherRecordsEventsForOomEvents ensures that our OomInstances coming
5342
// from `StreamOoms` are translated into events in our recorder.
5443
func TestWatcherRecordsEventsForOomEvents(t *testing.T) {

0 commit comments

Comments
 (0)