Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions tests/rkt_fetch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,11 @@ func testFetchUpdate(t *testing.T, args string, image string, imageArgs string,
}

func TestFetchNoStoreCacheControl(t *testing.T) {
// Flake: https://github.com/rkt/rkt/issues/3995
if os.Getenv("SEMAPHORE") == "true" {
t.Skip("skipped on semaphore")
}

imageName := "rkt-inspect-fetch-nostore-cachecontrol"
imageFileName := fmt.Sprintf("%s.aci", imageName)
// no spaces between words, because of an actool limitation
Expand Down Expand Up @@ -504,6 +509,11 @@ func testSimpleServerHandler(t *testing.T, imagePath string) http.HandlerFunc {
}

func TestDeferredSignatureDownload(t *testing.T) {
// Flake: https://github.com/rkt/rkt/issues/3995
if os.Getenv("SEMAPHORE") == "true" {
t.Skip("skipped on semaphore")
}

imageName := "localhost/rkt-inspect-deferred-signature-download"
imageFileName := fmt.Sprintf("%s.aci", filepath.Base(imageName))
// no spaces between words, because of an actool limitation
Expand Down Expand Up @@ -552,6 +562,11 @@ func TestDeferredSignatureDownload(t *testing.T) {
}

func TestDifferentDiscoveryLabels(t *testing.T) {
// Flake: https://github.com/rkt/rkt/issues/3995
if os.Getenv("SEMAPHORE") == "true" {
t.Skip("skipped on semaphore")
}

const imageName = "localhost/rkt-test-different-discovery-labels-image"

aci_os, aci_arch := common.GetOSArch()
Expand Down
5 changes: 5 additions & 0 deletions tests/rkt_image_dependencies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ func generateComplexDependencyTree(t *testing.T, ctx *testutils.RktRunCtx) (map[
// mechanism. This is to reproduce the scenario in explained in:
// https://github.com/rkt/rkt/issues/1752#issue-117121841
func TestImageDependencies(t *testing.T) {
// Flake: https://github.com/rkt/rkt/issues/3995
if os.Getenv("SEMAPHORE") == "true" {
t.Skip("skipped on semaphore")
}

ctx := testutils.NewRktRunCtx()
defer ctx.Cleanup()

Expand Down