From 7d12333e914d9ec1226d346ec799c026530051e3 Mon Sep 17 00:00:00 2001 From: Darren Hague Date: Fri, 23 Feb 2018 12:17:28 +0000 Subject: [PATCH] Add ImportState test step (#1067) --- google/resource_container_node_pool_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/google/resource_container_node_pool_test.go b/google/resource_container_node_pool_test.go index 177a422e989..3b38284bf0d 100644 --- a/google/resource_container_node_pool_test.go +++ b/google/resource_container_node_pool_test.go @@ -106,6 +106,10 @@ func TestAccContainerNodePool_withGPU(t *testing.T) { testAccCheckContainerNodePoolMatches("google_container_node_pool.np_with_gpu"), ), }, + resource.TestStep{ + ResourceName: "google_container_node_pool.np_with_gpu", + ImportState: true, + }, }, }) }