From a1d05f73fe16f47c6a739a7c0b266afe4ebc5ae8 Mon Sep 17 00:00:00 2001 From: Victor Moraes Date: Wed, 27 Dec 2023 18:42:51 -0300 Subject: [PATCH] Update sidecar id length used in expected error message --- .../instance/data_source_cyral_sidecar_instance_stats_test.go | 2 +- .../sidecar/instance/data_source_cyral_sidecar_instance_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cyral/internal/sidecar/instance/data_source_cyral_sidecar_instance_stats_test.go b/cyral/internal/sidecar/instance/data_source_cyral_sidecar_instance_stats_test.go index a7255399..377d9664 100644 --- a/cyral/internal/sidecar/instance/data_source_cyral_sidecar_instance_stats_test.go +++ b/cyral/internal/sidecar/instance/data_source_cyral_sidecar_instance_stats_test.go @@ -51,7 +51,7 @@ func accTestStepSidecarInstanceStatsDataSource_EmptyInstanceID(dataSourceName st } func accTestStepSidecarInstanceStatsDataSource_NoSidecarFoundForGivenID(dataSourceName string) resource.TestStep { - nonExistentSidecarID := "some-non-existent-sidecar-id" + nonExistentSidecarID := "id" config := fmt.Sprintf(` data "cyral_sidecar_instance_stats" "%s" { sidecar_id = %q diff --git a/cyral/internal/sidecar/instance/data_source_cyral_sidecar_instance_test.go b/cyral/internal/sidecar/instance/data_source_cyral_sidecar_instance_test.go index f03cbd3d..d855dc92 100644 --- a/cyral/internal/sidecar/instance/data_source_cyral_sidecar_instance_test.go +++ b/cyral/internal/sidecar/instance/data_source_cyral_sidecar_instance_test.go @@ -42,7 +42,7 @@ func accTestStepSidecarInstanceDataSource_EmptySidecarID(dataSourceName string) } func accTestStepSidecarInstanceDataSource_NoSidecarFoundForGivenID(dataSourceName string) resource.TestStep { - nonExistentSidecarID := "some-non-existent-sidecar-id" + nonExistentSidecarID := "id" config := fmt.Sprintf(` data "cyral_sidecar_instance" "%s" { sidecar_id = %q