Flaky: soak.spec matches the previous post's status line #256
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom#256
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CI run #410 (PR #254):
soak.spec.tsfailed withexpect(no).not.toBe(lastNo), "416" twice.After Skicka, the spec waits for the status to contain "Inlägg N är publicerat" and then reads N. The previous post's status line still says that, so the wait passes at once and N is the old number, before the new status replaces it. The spec's own comment says the previous post's status line mustn't count; the check catches it, but by failing.
Fix: wait until the status has a number other than the last one. A post that was never made still fails, by timing out.
Fixed in #254 (main #426 green): the soak spec waits for a new post number. Soak passed locally (60 s, 32 posts, 16 drops) and in CI.