Skip to content

Commit

Permalink
[HWORKS-786] reset connector flag to disable before specs (#1580) (#1415
Browse files Browse the repository at this point in the history
)

* reset connector flag to disable

* remove commented code

(cherry picked from commit 50947d2)
  • Loading branch information
dhananjay-mk authored Oct 16, 2023
1 parent d06ddfe commit 44d61e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def create_connector_materializationDataset
expect(parsed_result_update['dataset']).to eql(dataset)
expect(parsed_result_update['queryTable']).to eql(table)
expect(parsed_result_update['queryTable']).to eql(table)
expect(parsed_result_update['arguments']).to eql(nil)
expect(parsed_result_update['arguments']).to eql([])
end

it 'should fail to update non existing connector' do
Expand Down
3 changes: 1 addition & 2 deletions hopsworks-IT/src/test/ruby/spec/storage_connector_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -557,14 +557,13 @@
@connector_name = parsed_json["name"]

# disable kafka storage connectors
setVar('enable_kafka_storage_connectors', @enable_kafka_storage_connectors[:value])
setVar('enable_kafka_storage_connectors',"false")

create_session(@project[:username], "Pass123")
end

after :all do
# enable kafka storage connectors temporarily
@enable_kafka_storage_connectors = getVar('enable_kafka_storage_connectors')
setVar('enable_kafka_storage_connectors', "true")

create_session(@project[:username], "Pass123")
Expand Down

0 comments on commit 44d61e5

Please sign in to comment.