14745: Removes unneeded file and debug code and improves Duration comments
[arvados.git] / lib / cloud / azure / azure_test.go
index cf2ee82eb361badb4ec8e4bd61b34f6052bdb9e9..850a3fb4270fd9c5da7b7829e9f00fa27c630a49 100644 (file)
@@ -5,7 +5,7 @@
 //
 // How to manually run individual tests against the real cloud:
 //
-// $ go test -v git.curoverse.com/arvados.git/lib/cloud/azure -live-azure-cfg azconfig.yml -check.f=TestListInstance
+// $ go test -v git.curoverse.com/arvados.git/lib/cloud/azure -live-azure-cfg azconfig.yml -check.f=TestCreate
 //
 // Tests should be run individually and in the order they are listed in the file:
 //
@@ -20,7 +20,7 @@
 //      ClientSecret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 //      TenantId: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
 //      ResourceGroup: zzzzz
-//      Network: zzzzz0:10 / 3:26:1
+//      Network: zzzzz
 //      Subnet: zzzzz-subnet-private
 //      StorageAccount: example
 //      BlobContainer: vhds
@@ -132,12 +132,6 @@ func GetInstanceSet() (cloud.InstanceSet, cloud.ImageID, arvados.Cluster, error)
                        return nil, cloud.ImageID(""), cluster, err
                }
 
-               var azcfg azureInstanceSetConfig
-               err = json.Unmarshal(exampleCfg.DriverParameters, &azcfg)
-               if err != nil {
-                       println(err.Error())
-               }
-
                ap, err := newAzureInstanceSet(exampleCfg.DriverParameters, "test123", logrus.StandardLogger())
                return ap, cloud.ImageID(exampleCfg.ImageIDForTestSuite), cluster, err
        }