Skip to content

Commit 948f5d8

Browse files
authored
[chore] Skip non-arm compatible integration tests (#22802)
Nearly all integration tests in this repo are now compatible with arm processors. There are two remaining tests that are not, and these do not appear to have a clear path forward. Skipping these tests allows those of us with arm processors to locally run make integration-tests-with-cover.
1 parent bc7e409 commit 948f5d8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

receiver/riakreceiver/integration_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"fmt"
1111
"net"
1212
"path/filepath"
13+
"runtime"
1314
"testing"
1415
"time"
1516

@@ -24,6 +25,9 @@ import (
2425
const riakPort = "8098"
2526

2627
func TestIntegration(t *testing.T) {
28+
if runtime.GOARCH == "arm64" {
29+
t.Skip("Incompatible with arm64")
30+
}
2731
scraperinttest.NewIntegrationTest(
2832
NewFactory(),
2933
scraperinttest.WithContainerRequest(

receiver/sqlqueryreceiver/integration_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ package sqlqueryreceiver
99
import (
1010
"fmt"
1111
"path/filepath"
12+
"runtime"
1213
"testing"
1314
"time"
1415

@@ -134,6 +135,9 @@ func TestPostgresqlIntegration(t *testing.T) {
134135
// This test ensures the collector can connect to an Oracle DB, and properly get metrics. It's not intended to
135136
// test the receiver itself.
136137
func TestOracleDBIntegration(t *testing.T) {
138+
if runtime.GOARCH == "arm64" {
139+
t.Skip("Incompatible with arm64")
140+
}
137141
scraperinttest.NewIntegrationTest(
138142
NewFactory(),
139143
scraperinttest.WithContainerRequest(

0 commit comments

Comments
 (0)