Skip to content

Commit

Permalink
testing list
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarYuran committed Jan 12, 2025
1 parent 58ef767 commit 40a6ba2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esti/lakectl_local_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,8 @@ func TestLakectlLocal_commitProtetedBranch(t *testing.T) {
RunCmdAndVerifyContainsText(t, Lakectl()+" local status "+dataDir, false, "local ║ added ║ test.txt", vars)
}
runCmdAndVerifyContainsText(t, Lakectl()+" branch-protect list lakefs://"+repoName+"/ ", false, false, vars["BRANCH"], vars)
str := runCmd(t, Lakectl()+" branch-protect list lakefs://"+repoName+"/ ", false, false, vars["BRANCH"], vars)

Check failure on line 551 in esti/lakectl_local_test.go

View workflow job for this annotation

GitHub Actions / Run Go tests

too many arguments in call to runCmd

Check failure on line 551 in esti/lakectl_local_test.go

View workflow job for this annotation

GitHub Actions / Test unified gc

too many arguments in call to runCmd
fmt.Println("itamar testing", str)
// Commit changes to branch
RunCmdAndVerifyFailureContainsText(t, Lakectl()+" local commit -m test "+dataDir, false, "cannot write to protected branch", vars)
runCmd(t, Lakectl()+" branch-protect delete lakefs://"+repoName+"/ "+vars["BRANCH"], false, false, vars)
Expand Down

0 comments on commit 40a6ba2

Please sign in to comment.