mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-27 02:14:30 +01:00
test: keep the give-up test inside the type ratchet
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
3b15c19554
commit
022210eed2
1 file changed
+1
-1
@@ -859,7 +859,7 @@ describe('gstack-developer-profile concurrent writers (#3437)', () => {
|
|||||||
const env = { ...process.env, GSTACK_HOME: tmpHome, GSTACK_PROFILE_LOCK_TIMEOUT_MS: '300' };
|
const env = { ...process.env, GSTACK_HOME: tmpHome, GSTACK_PROFILE_LOCK_TIMEOUT_MS: '300' };
|
||||||
const res = spawnSync(BIN_DEV, ['--derive'], { env, encoding: 'utf-8', cwd: ROOT, timeout: 10_000 });
|
const res = spawnSync(BIN_DEV, ['--derive'], { env, encoding: 'utf-8', cwd: ROOT, timeout: 10_000 });
|
||||||
expect(res.signal).toBeNull();
|
expect(res.signal).toBeNull();
|
||||||
expect([0, 5]).toContain(res.status);
|
expect([0, 5]).toContain(res.status ?? -1);
|
||||||
} finally {
|
} finally {
|
||||||
fs.chmodSync(tmpHome, 0o755);
|
fs.chmodSync(tmpHome, 0o755);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user