Skip to content

Commit

Permalink
Disabled TestSocketCleanup/TestReceiveNewEventsConcurrently on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Oct 14, 2020
1 parent b400424 commit e3084ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions filebeat/inputsource/unix/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ func TestSocketOwnershipAndMode(t *testing.T) {
}

func TestSocketCleanup(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("test is only supported on non-windows. See https://github.com/elastic/beats/issues/21757")
return
}
path := filepath.Join(os.TempDir(), "test.sock")
mockStaleSocket, err := net.Listen("unix", path)
require.NoError(t, err)
Expand Down Expand Up @@ -302,6 +306,10 @@ func TestSocketCleanupRefusal(t *testing.T) {
}

func TestReceiveNewEventsConcurrently(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("test is only supported on non-windows. See https://github.com/elastic/beats/issues/21757")
return
}
workers := 4
eventsCount := 100
path := filepath.Join(os.TempDir(), "test.sock")
Expand Down

0 comments on commit e3084ae

Please sign in to comment.