skip wait test on windows

This commit is contained in:
Shreyas Goenka 2025-02-18 10:44:10 +01:00
parent 403c1b2a0c
commit 07141ba7ad
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import (
"os"
"os/exec"
"path/filepath"
"runtime"
"strconv"
"testing"
"time"
@ -13,7 +14,11 @@ import (
"github.com/stretchr/testify/require"
)
func TestWait(t *testing.T) {
func TestWaitUnix(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Skipping test on Windows")
}
t.Parallel()
tmpDir := t.TempDir()