Skip to content

Commit 779edee

Browse files
sondavidbcoderbirju
authored andcommitted
Disable TestNetworkRetry on ARM machines
This test currently hangs on ARM machines, so disabling till we can fix this. Signed-off-by: David Son <[email protected]>
1 parent afec192 commit 779edee

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

integration/run_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ import (
4141
"math"
4242
"os"
4343
"regexp"
44+
"runtime"
4445
"strconv"
4546
"strings"
4647
"testing"
@@ -220,7 +221,14 @@ type retryConfig struct {
220221
// TestNetworkRetry runs a container, disables network access to the remote image, asks the container
221222
// to do something requiring the remote image, waits for some/all requests to fail, enables the network,
222223
// confirms retries and success/failure
224+
225+
// TODO: Refactor test
223226
func TestNetworkRetry(t *testing.T) {
227+
// This test makes the testing suite hang on ARM.
228+
// Disabling for now till we can refactor this.
229+
if runtime.GOARCH == "arm64" {
230+
return
231+
}
224232

225233
const containerImage = alpineImage
226234

0 commit comments

Comments
 (0)