Skip to content

Commit

Permalink
test: fix driver tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanarya0 committed Jul 31, 2023
1 parent 11961b5 commit 500efab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/firehose/driver_plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func TestFirehoseDriver_Plan(t *testing.T) {
"SOURCE_KAFKA_BROKERS": "localhost:9092",
"SOURCE_KAFKA_TOPIC": "foo-log",
},
"init_container": map[string]interface{}{"args": interface{}(nil), "command": interface{}(nil), "enabled": false, "image_tag": "", "pull_policy": "", "repository": ""},
}),
},
State: resource.State{
Expand Down Expand Up @@ -167,6 +168,7 @@ func TestFirehoseDriver_Plan(t *testing.T) {
"SOURCE_KAFKA_BROKERS": "localhost:9092",
"SOURCE_KAFKA_TOPIC": "foo-log",
},
"init_container": map[string]interface{}{"args": interface{}(nil), "command": interface{}(nil), "enabled": false, "image_tag": "", "pull_policy": "", "repository": ""},
}),
},
State: resource.State{
Expand Down Expand Up @@ -252,6 +254,7 @@ func TestFirehoseDriver_Plan(t *testing.T) {
"cpu": "200m",
"memory": "512Mi",
},
"init_container": map[string]interface{}{"args": interface{}(nil), "command": interface{}(nil), "enabled": false, "image_tag": "", "pull_policy": "", "repository": ""},
}),
},
State: resource.State{
Expand Down Expand Up @@ -377,7 +380,8 @@ func TestFirehoseDriver_Plan(t *testing.T) {
"cpu": "200m",
"memory": "512Mi",
},
"stopped": false,
"stopped": false,
"init_container": map[string]interface{}{"args": interface{}(nil), "command": interface{}(nil), "enabled": false, "image_tag": "", "pull_policy": "", "repository": ""},
}),
},
State: resource.State{
Expand Down Expand Up @@ -469,6 +473,7 @@ func TestFirehoseDriver_Plan(t *testing.T) {
"SOURCE_KAFKA_BROKERS": "localhost:9092",
"SOURCE_KAFKA_TOPIC": "foo-log",
},
"init_container": map[string]interface{}{"args": interface{}(nil), "command": interface{}(nil), "enabled": false, "image_tag": "", "pull_policy": "", "repository": ""},
}),
},
State: resource.State{
Expand Down

0 comments on commit 500efab

Please sign in to comment.