Skip to content

Commit 7b5f7a6

Browse files
author
Julien Castets
committed
Fix unittests
Since May 2018, we started offering Start1-XS instances which have only 25GB of SSD. We had to recreate smaller images since most of them were 50GB. `scw create xenial` is now ambiguous because "xenial" and "ubuntu-mini-xenial-25g" both exist. The good fix would be to accept creating a server if an exact name matches. For now I prefer to keep it simple and create "ubuntu-mini-xenial-25g" instances in unittests (which is unambiguous). https://blog.online.net/2018/05/03/introducing-scaleway-nextgen-nvme-cloud-servers-with-hot-snapshots/
1 parent d55e4b7 commit 7b5f7a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/commands/create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func TestRunCreate_realAPI(t *testing.T) {
6262
Convey("--name=unittest-create-standard wily", func() {
6363
args := CreateArgs{
6464
Name: "unittest-create-standard",
65-
Image: "xenial",
65+
Image: "ubuntu-mini-xenial-25g",
6666
CommercialType: "X64-2GB",
6767
IP: "dynamic",
6868
}

0 commit comments

Comments
 (0)