mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #5231] [MERGED] test/e2e: replace sleeps with event-driven waits in chaos/group/store tests #5193
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#5193
Loading…
Add table
Add a link
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?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/5231
Author: @fatedier
Created: 3/11/2026
Status: ✅ Merged
Merged: 3/11/2026
Merged by: @fatedier
Base:
dev← Head:new📝 Commits (2)
d4fe14etest/e2e: replace sleeps with event-driven waits in chaos/group/store tests1316da0test/e2e: validate interval and cap dial/sleep to remaining deadline in WaitForTCPUnreachable📊 Changes
5 files changed (+57 additions, -25 deletions)
View changed files
📝
test/e2e/framework/process.go(+24 -0)📝
test/e2e/pkg/process/process.go(+5 -0)📝
test/e2e/v1/features/chaos.go(+5 -5)📝
test/e2e/v1/features/group.go(+10 -6)📝
test/e2e/v1/features/store.go(+13 -14)📄 Description
Summary
time.Sleepcalls acrosschaos.go,group.go, andstore.gowith deterministic event-driven waitingWaitForTCPUnreachable(addr, interval, timeout)helper for port closure detectionCountOutput(pattern)method for snapshot-based incremental log matching to avoid cumulative count racesTest plan
make e2epassed (225/225)golangci-lint runcleango build ./...clean🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.