Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed Aug 3, 2022
1 parent 5cf13ba commit c4404d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions controllers/spec/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ func TestGetDownloadCommand(t *testing.T) {
[]string{
PulsarctlExecutableFile,
"--admin-service-url", "$webServiceURL",
"--tls-enable-hostname-verification",
"--tls-allow-insecure=false",
"--tls-enable-hostname-verification=true",
"--tls-trust-cert-path", "/etc/tls/pulsar-functions/test-key",
"packages", "download", "function://public/default/test@v1", "--path", "function-package.jar",
},
Expand Down Expand Up @@ -162,7 +163,8 @@ func TestGetDownloadCommand(t *testing.T) {
[]string{
PulsarctlExecutableFile,
"--admin-service-url", "$webServiceURL",
"--tls-allow-insecure",
"--tls-allow-insecure=true",
"--tls-enable-hostname-verification=false",
"--tls-trust-cert-path", "/etc/tls/pulsar-functions/test-key",
"packages", "download", "function://public/default/test@v1", "--path", "function-package.jar",
},
Expand Down Expand Up @@ -858,7 +860,7 @@ func TestGenerateContainerVolumeMounts(t *testing.T) {
Name: DownloaderVolume,
MountPath: "/pulsar/test.jar",
SubPath: "test.jar",
ReadOnly: true,
ReadOnly: false,
},
{
Name: "test-producer-secret-test-producer-key",
Expand Down

0 comments on commit c4404d6

Please sign in to comment.