Skip to content

Commit

Permalink
with extre checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarYuran committed Jan 12, 2025
1 parent c6c2c9a commit c3b9fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esti/lakectl_local_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ func TestLakectlLocal_commitProtetedBranch(t *testing.T) {
str := runCmd(t, Lakectl()+" branch-protect list lakefs://"+repoName+"/ ", false, false, vars)
fmt.Println("itamar testing", str)
// Commit changes to branch
runCmd(t, Lakectl()+" commit lakefs://"+vars["REPO"]+"/"+vars["BRANCH"]+" --allow-empty-message -m \" \"", false, false, vars)
//runCmd(t, Lakectl()+" commit lakefs://"+vars["REPO"]+"/"+vars["BRANCH"]+" --allow-empty-message -m \" \"", false, false, vars)

RunCmdAndVerifyFailureContainsText(t, Lakectl()+" fs upload -s files/ro_1k lakefs://"+vars["REPO"]+"/"+vars["BRANCH"]+"/"+"fail_file.txt", false, "cannot write to protected branch", vars)
RunCmdAndVerifyContainsText(t, Lakectl()+" local list", false, repoName+"/"+vars["BRANCH"], vars)
Expand Down

0 comments on commit c3b9fca

Please sign in to comment.