@@ -48,11 +48,12 @@ func (suite *ListReposCommandTestSuite) TearDownTest() {
4848
4949func (suite * ListReposCommandTestSuite ) TestListReposCmd () {
5050 tests := []cmdTestCase {
51- {
52- name : "01-listing repos works when there are repos" ,
53- cmd : fmt .Sprintf (`list repos %s` , suite .defaultKosliArguments ),
54- golden : "No repos were found.\n " ,
55- },
51+ // THIS TEST IS FLAKY IN CI SINCE CI VARIABLES ARE SET THERE AND REPOS MAY EXIST FROM OTHER TESTS
52+ // {
53+ // name: "01-listing repos works when there are repos",
54+ // cmd: fmt.Sprintf(`list repos %s`, suite.defaultKosliArguments),
55+ // golden: "No repos were found.\n",
56+ // },
5657 {
5758 name : "02-listing repos works when there are no repos" ,
5859 cmd : fmt .Sprintf (`list repos %s` , suite .acmeOrgKosliArguments ),
@@ -63,11 +64,12 @@ func (suite *ListReposCommandTestSuite) TestListReposCmd() {
6364 cmd : fmt .Sprintf (`list repos --output json %s` , suite .acmeOrgKosliArguments ),
6465 goldenJson : []jsonCheck {{"_embedded.repos" , "non-empty" }},
6566 },
66- {
67- name : "04-listing repos with --output json works when there are no repos" ,
68- cmd : fmt .Sprintf (`list repos --output json %s` , suite .defaultKosliArguments ),
69- goldenJson : []jsonCheck {{"_embedded.repos" , "[]" }},
70- },
67+ // THIS TEST IS FLAKY IN CI SINCE CI VARIABLES ARE SET THERE AND REPOS MAY EXIST FROM OTHER TESTS
68+ // {
69+ // name: "04-listing repos with --output json works when there are no repos",
70+ // cmd: fmt.Sprintf(`list repos --output json %s`, suite.defaultKosliArguments),
71+ // goldenJson: []jsonCheck{{"_embedded.repos", "[]"}},
72+ // },
7173 {
7274 wantError : true ,
7375 name : "05-providing an argument causes an error" ,
0 commit comments