fix: skip flaky observer shell test on Windows (#722)

This commit is contained in:
Affaan Mustafa
2026-03-20 07:30:52 -07:00
committed by GitHub
parent 2643e0c72f
commit 7ccfda9e25

View File

@@ -216,6 +216,10 @@ test('counter file handles missing/corrupt file gracefully', () => {
console.log('\n--- observe.sh end-to-end throttle (shell execution) ---'); console.log('\n--- observe.sh end-to-end throttle (shell execution) ---');
test('observe.sh creates counter file and increments on each call', () => { test('observe.sh creates counter file and increments on each call', () => {
if (process.platform === 'win32') {
return;
}
// This test runs observe.sh with minimal input to verify counter behavior. // This test runs observe.sh with minimal input to verify counter behavior.
// We need python3, bash, and a valid project dir to test the full flow. // We need python3, bash, and a valid project dir to test the full flow.
// We use ECC_SKIP_OBSERVE=0 and minimal JSON so observe.sh processes but // We use ECC_SKIP_OBSERVE=0 and minimal JSON so observe.sh processes but