From acd91c7c11658360e0540f9d550f1fe0da167109 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 5 Mar 2026 23:53:01 +0200 Subject: Normalize Go import grouping with local ior section --- integrationtests/cmd/ioworkload/scenario_rename.go | 4 ++-- integrationtests/expectations.go | 3 ++- integrationtests/expectations_test.go | 3 ++- integrationtests/parse.go | 1 + integrationtests/parse_test.go | 7 ++++--- 5 files changed, 11 insertions(+), 7 deletions(-) (limited to 'integrationtests') diff --git a/integrationtests/cmd/ioworkload/scenario_rename.go b/integrationtests/cmd/ioworkload/scenario_rename.go index d2e76b1..685157b 100644 --- a/integrationtests/cmd/ioworkload/scenario_rename.go +++ b/integrationtests/cmd/ioworkload/scenario_rename.go @@ -9,8 +9,8 @@ import ( ) const ( - sysRenameat2 = 316 // SYS_RENAMEAT2 on amd64 - renameNoreplaceFlag = 1 // RENAME_NOREPLACE + sysRenameat2 = 316 // SYS_RENAMEAT2 on amd64 + renameNoreplaceFlag = 1 // RENAME_NOREPLACE ) // renameBasic creates a file and renames it via rename(2). diff --git a/integrationtests/expectations.go b/integrationtests/expectations.go index 21a5bda..36fdf6e 100644 --- a/integrationtests/expectations.go +++ b/integrationtests/expectations.go @@ -1,9 +1,10 @@ package integrationtests import ( - "ior/internal/flamegraph" "strings" "testing" + + "ior/internal/flamegraph" ) // ExpectedEvent describes an I/O event that should appear in the test output. diff --git a/integrationtests/expectations_test.go b/integrationtests/expectations_test.go index fd06e31..9630cf9 100644 --- a/integrationtests/expectations_test.go +++ b/integrationtests/expectations_test.go @@ -1,9 +1,10 @@ package integrationtests import ( + "testing" + "ior/internal/flamegraph" "ior/internal/types" - "testing" ) func TestAssertEventsAbsentNoMatch(t *testing.T) { diff --git a/integrationtests/parse.go b/integrationtests/parse.go index cebb0ba..bf4f0bf 100644 --- a/integrationtests/parse.go +++ b/integrationtests/parse.go @@ -2,6 +2,7 @@ package integrationtests import ( "fmt" + "ior/internal/flamegraph" ) diff --git a/integrationtests/parse_test.go b/integrationtests/parse_test.go index 6425298..65781a5 100644 --- a/integrationtests/parse_test.go +++ b/integrationtests/parse_test.go @@ -3,13 +3,14 @@ package integrationtests import ( "bytes" "encoding/gob" - "ior/internal/file" - "ior/internal/flamegraph" - "ior/internal/types" "os" "path/filepath" "testing" + "ior/internal/file" + "ior/internal/flamegraph" + "ior/internal/types" + "github.com/DataDog/zstd" ) -- cgit v1.2.3