mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-29 03:15:05 +01:00
test: eight flaky-test repairs and five failure diagnostics from the 2026-11-01 flaky pass (GSTA-240)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
83ae96e086
commit
fbbec20967
20 files changed
+164
-29
No files matched your search
@@ -662,8 +662,8 @@ _gstack_codex_lock_acquire() {
|
||||
if [ "$_ohost" = "$_host" ] && ! kill -0 "$_pid" 2>/dev/null; then _dead=1; fi
|
||||
[ $((_now - _ts)) -ge "$_stale" ] && _dead=1
|
||||
else
|
||||
_ts=$(stat -c %Y "$_dir" 2>/dev/null || stat -f %m "$_dir" 2>/dev/null || echo 0)
|
||||
case "$_ts" in ''|*[!0-9]*) _ts=0 ;; esac
|
||||
_ts=$(stat -c %Y "$_dir" 2>/dev/null || stat -f %m "$_dir" 2>/dev/null || echo "$_now")
|
||||
case "$_ts" in ''|*[!0-9]*) _ts="$_now" ;; esac
|
||||
[ $((_now - _ts)) -ge 5 ] && _dead=1
|
||||
fi
|
||||
[ "$_dead" -eq 1 ] && _gstack_codex_lock_break "$_dir" "$_owner"
|
||||
|
||||
Reference in new issue
Block a user