Skip to content

Commit

Permalink
makes hostnames compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
ponbiki committed Oct 10, 2023
1 parent ac7606e commit e0d867b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions ns1/resource_pulsar_job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestAccPulsarJob_basic(t *testing.T) {
testAccCheckPulsarJobActive(&job, true),
testAccCheckPulsarJobShared(&job, false),
testAccCheckPulsarJobSCommunity(&job, false),
testAccCheckPulsarJobSHost(&job, "testAccHost"),
testAccCheckPulsarJobSHost(&job, "testAccHost.com"),
testAccCheckPulsarJobSUrlPath(&job, "/testAccURLPath"),
),
},
Expand Down Expand Up @@ -90,7 +90,7 @@ func TestAccPulsarJob_updated_same_type(t *testing.T) {
testAccCheckPulsarJobActive(&job, true),
testAccCheckPulsarJobShared(&job, false),
testAccCheckPulsarJobSCommunity(&job, false),
testAccCheckPulsarJobSHost(&job, "testAccHost"),
testAccCheckPulsarJobSHost(&job, "testAccHost.com"),
testAccCheckPulsarJobSUrlPath(&job, "/testAccURLPath"),
),
},
Expand All @@ -105,7 +105,7 @@ func TestAccPulsarJob_updated_same_type(t *testing.T) {
testAccCheckPulsarJobActive(&job, false),
testAccCheckPulsarJobShared(&job, false),
testAccCheckPulsarJobSCommunity(&job, false),
testAccCheckPulsarJobSHost(&job, "testAccUpdatedHost"),
testAccCheckPulsarJobSHost(&job, "testAccUpdatedHost.com"),
testAccCheckPulsarJobSUrlPath(&job, "/testAccUpdatedURLPath"),
),
},
Expand Down Expand Up @@ -176,7 +176,7 @@ func TestAccPulsarJob_updated_different_type(t *testing.T) {
testAccCheckPulsarJobActive(&job, true),
testAccCheckPulsarJobShared(&job, false),
testAccCheckPulsarJobSCommunity(&job, false),
testAccCheckPulsarJobSHost(&job, "testAccHost"),
testAccCheckPulsarJobSHost(&job, "testAccHost.com"),
testAccCheckPulsarJobSUrlPath(&job, "/testAccURLPath"),
),
},
Expand Down Expand Up @@ -226,7 +226,7 @@ func TestAccPulsarJob_updated_different_type(t *testing.T) {
testAccCheckPulsarJobActive(&job, false),
testAccCheckPulsarJobShared(&job, false),
testAccCheckPulsarJobSCommunity(&job, false),
testAccCheckPulsarJobSHost(&job, "testAccUpdatedHost"),
testAccCheckPulsarJobSHost(&job, "testAccUpdatedHost.com"),
testAccCheckPulsarJobSUrlPath(&job, "/testAccUpdatedURLPath"),
),
},
Expand Down Expand Up @@ -276,7 +276,7 @@ func TestAccPulsarJob_BlendMetricWeights(t *testing.T) {
testAccCheckPulsarJobActive(&job, true),
testAccCheckPulsarJobShared(&job, false),
testAccCheckPulsarJobSCommunity(&job, false),
testAccCheckPulsarJobSHost(&job, "testAccCompleteHost"),
testAccCheckPulsarJobSHost(&job, "testAccCompleteHost.com"),
testAccCheckPulsarJobSUrlPath(&job, "/testAccCompleteURLPath"),
testAccCHeckPulsarJobBlendMetricWeights_timestamp(&job, 123),
testAccCHeckPulsarJobBlendMetricWeights_weights(&job, weights),
Expand All @@ -298,7 +298,7 @@ func TestAccPulsarJob_BlendMetricWeights(t *testing.T) {
testAccCheckPulsarJobExists("ns1_pulsarjob.it", &job),
testAccCheckPulsarJobName(&job, jobName),
testAccCheckPulsarJobTypeID(&job, "custom"),
testAccCheckPulsarJobSHost(&job, "testAccHost"),
testAccCheckPulsarJobSHost(&job, "testAccHost.com"),
testAccCheckPulsarJobSUrlPath(&job, "/testAccUrlPath"),
testAccCheckPulsarJobAppID(&job, &app),
testAccCheckPulsarJobActive(&job, true),
Expand Down Expand Up @@ -385,7 +385,7 @@ func testAccJSPulsarJobBasic(appName, jobName string) string {
type_id = "latency"
app_id = "${ns1_application.app.id}"
config {
host = "testAccHost"
host = "testAccHost.com"
url_path = "/testAccURLPath"
}
}
Expand All @@ -404,7 +404,7 @@ func testAccJSPulsarJobUpdated(appName, jobName string) string {
active = false
shared = false
config {
host = "testAccUpdatedHost"
host = "testAccUpdatedHost.com"
url_path = "/testAccUpdatedURLPath"
}
}
Expand All @@ -421,7 +421,7 @@ func testAccJSPulsarJobBlendMetricWeights(appName, jobName string) string {
type_id = "latency"
app_id = "${ns1_application.app.id}"
config {
host = "testAccCompleteHost"
host = "testAccCompleteHost.com"
url_path = "/testAccCompleteURLPath"
}
blend_metric_weights {
Expand Down Expand Up @@ -481,7 +481,7 @@ func testAccBBPulsarJobConverted(appName, jobName string) string {
type_id = "custom"
app_id = "${ns1_application.app.id}"
config {
host = ""
host = "testAccBBPulsarJobConverted.com"
url_path = ""
}
}
Expand All @@ -498,7 +498,7 @@ func testAccBBPulsarJobBlendMetricWeights(appName, jobName string) string {
type_id = "custom"
app_id = "${ns1_application.app.id}"
config {
host = "testAccHost"
host = "testAccHost.com"
url_path = "/testAccUrlPath"
}
blend_metric_weights {
Expand Down

0 comments on commit e0d867b

Please sign in to comment.