You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/06/11 01:42:07 UTC

[GitHub] [cloudstack-terraform-provider] Damans227 commented on a diff in pull request #34: Add instance data source

Damans227 commented on code in PR #34:
URL: https://github.com/apache/cloudstack-terraform-provider/pull/34#discussion_r894961017


##########
cloudstack/data_source_cloudstack_instance_test.go:
##########
@@ -22,45 +22,43 @@ package cloudstack
 import (
 	"testing"
 
-	"github.com/apache/cloudstack-go/v2/cloudstack"
 	"github.com/hashicorp/terraform/helper/resource"
-	"github.com/hashicorp/terraform/terraform"
 )
 
-func TestAccDataSourceCloudStackInstance_basic(t *testing.T) {
-	var instance cloudstack.VirtualMachine
+func TestAccInstanceDataSource_basic(t *testing.T) {

Review Comment:
   Test results: 
   
   ```
   
    ❯ TF_ACC=1 go test -v ./...
   
   === RUN   TestAccInstanceDataSource_basic
   --- PASS: TestAccInstanceDataSource_basic (55.73s)
   === RUN   TestProvider
   --- PASS: TestProvider (0.00s)
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org