File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ data "ovh_dbaas_logs_input_engine" "logstash" {
2828func 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 },
You can’t perform that action at this time.
0 commit comments