diff --git a/esti/lakectl_local_test.go b/esti/lakectl_local_test.go index 6f8c82753f3..f24925014cc 100644 --- a/esti/lakectl_local_test.go +++ b/esti/lakectl_local_test.go @@ -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) + 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)