From edd352d2cac185e671f8ba965b21796bf0fe4b13 Mon Sep 17 00:00:00 2001 From: Itamar Yuran Date: Sun, 12 Jan 2025 12:55:52 +0100 Subject: [PATCH] fs upload test --- esti/lakectl_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esti/lakectl_test.go b/esti/lakectl_test.go index 638714193ee..57ca55ebb22 100644 --- a/esti/lakectl_test.go +++ b/esti/lakectl_test.go @@ -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) {