INNER CODE UNIT · Go

TestReleaseVerificationRunsAfterUpload

minekube/gate · release_asset_verification_test.go:228

func TestReleaseVerificationRunsAfterUpload(t *testing.T) {
	steps := readReleaseJobSteps(t)

	verifyAt := stepIndex(steps, verifyAssetsStepName)
	publishAt := stepIndex(steps, publishAssetsStepName)
	if verifyAt < 0 || publishAt < 0 {
		t.Fatalf("expected both %q (%d) and %q (%d) in the publish-release job",
			publishAssetsStepName, publishAt, verifyAssetsStepName, verifyAt)
	}
	if verifyAt < publishAt {
		t.Errorf("%q runs before %q; it would always see an empty release",
			verifyAssetsStepName, publishAssetsStepName)
	}
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…