Skip to content

Commit

Permalink
Skip integration tests in chroot
Browse files Browse the repository at this point in the history
  • Loading branch information
xylo04 committed Jun 12, 2022
1 parent 1635d0f commit 4ecc587
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integration/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package integration

import (
"net"
"os"
"strconv"
"testing"

Expand All @@ -23,6 +24,10 @@ type integrationTestSuite struct {
}

func TestIntegrationSuite(t *testing.T) {
if os.Getenv("SCHROOT_SESSION_ID") != "" {
// TODO: fix these tests for chroot
t.Skip("These integration tests freeze when building in sbuild chroot")
}
suite.Run(t, &integrationTestSuite{})
}

Expand Down

0 comments on commit 4ecc587

Please sign in to comment.