Skip to content

Commit b4b0dc0

Browse files
committed
backend/watch: Skip TestDeleteEvent when running on travis (#438)
1 parent 9e1a5c2 commit b4b0dc0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backend/watch/watch_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,12 @@ func TestCreateEvent(t *testing.T) {
366366
}
367367

368368
func TestDeleteEvent(t *testing.T) {
369+
if os.ExpandEnv("$TRAVIS") != "" {
370+
// This test just times out on travis (ie the callback is never called).
371+
// See https://github.com/limetext/lime/issues/438
372+
t.Skip("Skipping test as it doesn't work with travis")
373+
return
374+
}
369375
name := "testdata/dummy.txt"
370376
watcher := newWatcher(t)
371377
defer wclose(t, watcher)

0 commit comments

Comments
 (0)