Skip to content

Commit

Permalink
Eventing: fixing testware issue
Browse files Browse the repository at this point in the history
Change-Id: I203e1ae14f4bd0c3e106de750f97d829ef0efec2
Reviewed-on: http://review.couchbase.org/c/testrunner/+/141121
Tested-by: Balakumaran G <balakumaran.gopal@couchbase.com>
Reviewed-by: Balakumaran G <balakumaran.gopal@couchbase.com>
  • Loading branch information
vikas-getconnect committed Dec 1, 2020
1 parent f188b0a commit a5bdb92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion pytests/eventing/eventing_bucket.py
Expand Up @@ -426,7 +426,10 @@ def test_eventing_with_different_compression_modes(self):
bucket_params=bucket_params))
for task in tasks:
task.result()
body = self.create_save_function_body(self.function_name, self.handler_code,src_binding=True)
if self.is_sbm:
body = self.create_save_function_body(self.function_name, self.handler_code)
else:
body = self.create_save_function_body(self.function_name, self.handler_code,src_binding=True)
stats_src = RestConnection(self.master).get_bucket_stats(bucket=self.src_bucket_name)
self.deploy_function(body)
if self.pause_resume:
Expand Down
2 changes: 0 additions & 2 deletions pytests/eventing/eventing_tools.py
Expand Up @@ -128,8 +128,6 @@ def setUp(self):
self.skip_buckets = self.input.param("skip_buckets", False)
self.lww_new = self.input.param("lww_new", False)
self.skip_consistency = self.input.param("skip_consistency", False)
if not self.master_services:
self.master_services = ["kv"]
self.per_node = self.input.param("per_node", True)
if not os.path.exists(self.backup_validation_files_location):
os.mkdir(self.backup_validation_files_location)
Expand Down

0 comments on commit a5bdb92

Please sign in to comment.