Finalize Rackspace acceptance tests and fix various things
diff --git a/acceptance/rackspace/db/v1/replica_test.go b/acceptance/rackspace/db/v1/replica_test.go
index 3da2881..26f0043 100644
--- a/acceptance/rackspace/db/v1/replica_test.go
+++ b/acceptance/rackspace/db/v1/replica_test.go
@@ -8,9 +8,9 @@
th "github.com/rackspace/gophercloud/testhelper"
)
-func (c context) createReplica() {
+func (c *context) createReplica() {
opts := instances.CreateOpts{
- FlavorRef: "1",
+ FlavorRef: "2",
Size: 1,
Name: tools.RandomString("gopher_db", 5),
ReplicaOf: c.instanceID,
@@ -26,7 +26,7 @@
c.replicaID = repl.ID
}
-func (c context) detachReplica() {
+func (c *context) detachReplica() {
err := instances.DetachReplica(c.client, c.replicaID).ExtractErr()
c.Logf("Detached replica %s", c.replicaID)
c.AssertNoErr(err)