summaryrefslogtreecommitdiff
path: root/integrationtests/open_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-23 17:27:08 +0200
committerPaul Buetow <paul@buetow.org>2026-02-23 17:27:08 +0200
commitaa19be8c624a6adc3ecbf11a6ee0506a5c7d34fe (patch)
tree6abf6475155980c4c663d04c24ac8f15ca51a166 /integrationtests/open_test.go
parent80d68b05199d288df8ccd7a073ac32ebfc90be62 (diff)
Run integration tests in parallel by default and stabilize flaky scenarios
Diffstat (limited to 'integrationtests/open_test.go')
-rw-r--r--integrationtests/open_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/integrationtests/open_test.go b/integrationtests/open_test.go
index c2a0366..2a3b77a 100644
--- a/integrationtests/open_test.go
+++ b/integrationtests/open_test.go
@@ -67,6 +67,7 @@ func TestOpenRdonlyWrite(t *testing.T) {
}
func TestOpenPidFilter(t *testing.T) {
+ enableParallelIfRequested(t)
h := newTestHarness(t)
result, pid, err := h.Run("open-pid-filter", defaultDuration)
if err != nil {
@@ -98,6 +99,7 @@ func TestOpenPidFilter(t *testing.T) {
}
func TestOpenDurationGap(t *testing.T) {
+ enableParallelIfRequested(t)
h := newTestHarness(t)
result, pid, err := h.Run("open-duration-gap", defaultDuration)
if err != nil {
@@ -114,7 +116,7 @@ func TestOpenDurationGap(t *testing.T) {
if !strings.Contains(rec.TraceID.String(), "enter_openat") {
continue
}
- if !strings.Contains(rec.Path, "gap-second.txt") {
+ if !strings.Contains(rec.Path, "gap-shared.txt") {
continue
}
if rec.Cnt.DurationToPrev < minGapNs {
@@ -123,5 +125,5 @@ func TestOpenDurationGap(t *testing.T) {
return
}
- t.Fatalf("did not find second openat record for gap-second.txt")
+ t.Fatalf("did not find openat record for gap-shared.txt")
}