Skip to content

Commit

Permalink
fs upload test
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarYuran committed Jan 12, 2025
1 parent 3923c45 commit edd352d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esti/lakectl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ func TestLakectlFsUpload_protectedBranch(t *testing.T) {
RunCmdAndVerifyContainsText(t, Lakectl()+" branch-protect list lakefs://"+repoName+"/ ", false, "*", vars)

vars["FILE_PATH"] = "data/ro/ro_1k.0"
RunCmdAndVerifyFailure(t, Lakectl()+" fs upload lakefs://"+repoName+"/"+mainBranch+"/"+vars["FILE_PATH"]+" -s files/ro_1k", false, "cannot write to protected branch", vars)
RunCmdAndVerifyFailure(t, Lakectl()+" fs upload lakefs://"+repoName+"/"+mainBranch+"/"+vars["FILE_PATH"]+" -s files/ro_1k", false, "cannot write to protected branch\n403 Forbidden\n", vars)
}

func TestLakectlFsPresign(t *testing.T) {
Expand Down

0 comments on commit edd352d

Please sign in to comment.