summaryrefslogtreecommitdiff
path: root/integrationtests
diff options
context:
space:
mode:
Diffstat (limited to 'integrationtests')
-rw-r--r--integrationtests/cmd/ioworkload/scenario_rename.go4
-rw-r--r--integrationtests/expectations.go3
-rw-r--r--integrationtests/expectations_test.go3
-rw-r--r--integrationtests/parse.go1
-rw-r--r--integrationtests/parse_test.go7
5 files changed, 11 insertions, 7 deletions
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"
)