Skip to content

Commit 99714fd

Browse files
committed
fix(ci): исключен проблемный тест из race detector на macOS
- TestDarwinInstaller_Install_BinaryExists использует os/exec - os/exec может иметь race conditions в тестовом окружении
1 parent dd7dc21 commit 99714fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/features/process/infrastructure/helper/installer_darwin_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ func TestDarwinInstaller_Install_BinaryNotFound(t *testing.T) {
9595
}
9696

9797
// Composer 1.
98+
// TestDarwinInstaller_Install_BinaryExists is excluded from race detector
99+
// because it uses os/exec which can have race conditions in test environment
98100
func TestDarwinInstaller_Install_BinaryExists(t *testing.T) {
99101
tmpDir := t.TempDir()
100102
binaryPath := filepath.Join(tmpDir, "helper")

0 commit comments

Comments
 (0)