diff --git a/test/oncluster/scenario_remote-repository_test.go b/test/oncluster/scenario_remote-repository_test.go index cc727cec2..4d8e50732 100644 --- a/test/oncluster/scenario_remote-repository_test.go +++ b/test/oncluster/scenario_remote-repository_test.go @@ -83,7 +83,7 @@ func TestRemoteRepository(t *testing.T) { knFunc.Exec("create", "--language", "go", "--template", "testhello", - "--repository", gitRepoUrl, + "--repository", gitRepoUrl+"#main", // let's enforce branch (avoid failure on CI PROW) funcPath) knFunc.SourceDir = funcPath