Skip to content

Commit 14b3e99

Browse files
committed
feat: change also for another test
1 parent f824047 commit 14b3e99

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ovh/data_dbaas_logs_input_engine_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ data "ovh_dbaas_logs_input_engine" "logstash" {
2828
func TestAccDataSourceDbaasLogsInputEngine_basic(t *testing.T) {
2929
serviceName := os.Getenv("OVH_DBAAS_LOGS_SERVICE_TEST")
3030
name := "LOGSTASH"
31-
version := "7.x"
31+
// version := "7.x"
32+
version := os.Getenv("OVH_DBAAS_LOGS_LOGSTASH_VERSION_TEST")
3233

3334
config := fmt.Sprintf(
3435
testAccDataSourceDbaasLogsInputEngine_basic,
@@ -38,7 +39,7 @@ func TestAccDataSourceDbaasLogsInputEngine_basic(t *testing.T) {
3839
)
3940

4041
resource.Test(t, resource.TestCase{
41-
PreCheck: func() { testAccPreCheckDbaasLogs(t) },
42+
PreCheck: func() { testAccPreCheckDbaasLogsInput(t) },
4243

4344
Providers: testAccProviders,
4445
Steps: []resource.TestStep{
@@ -53,7 +54,7 @@ func TestAccDataSourceDbaasLogsInputEngine_basic(t *testing.T) {
5354
resource.TestCheckResourceAttr(
5455
"data.ovh_dbaas_logs_input_engine.logstash",
5556
"version",
56-
"7.x",
57+
version,
5758
),
5859
),
5960
},

0 commit comments

Comments
 (0)