Skip to content

Commit 2fc8cc5

Browse files
author
Jamie Hannaford
committed
Modifying smoke test config
1 parent 75707cc commit 2fc8cc5

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

tests/OpenCloud/Smoke/Enum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Enum
4949
const ENV_IDENTITY_ENDPOINT = 'IDENTITY_ENDPOINT';
5050

5151
// Defaults
52-
const DEFAULT_REGION = 'DFW';
52+
const DEFAULT_REGION = 'ORD';
5353

5454
// How many iterations do we want for resource lists? We don't have all day...
5555
const DISPLAY_ITER_LIMIT = 10;

tests/OpenCloud/Smoke/Unit/DNS.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ public function setupService()
2626
return $this->getConnection()->dnsService();
2727
}
2828

29+
public function getWaiterCallback()
30+
{
31+
return function($object) {
32+
if (!empty($object->error)) {
33+
var_dump($object->error); die;
34+
} else {
35+
$this->stepInfoDotter("Waiting...");
36+
}
37+
};
38+
}
39+
2940
public function main()
3041
{
3142
$domainName = 'domain-' . time() . '.com';

0 commit comments

Comments
 (0)