diff options
Diffstat (limited to 'tests/terminate-instances.at')
-rw-r--r-- | tests/terminate-instances.at | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/terminate-instances.at b/tests/terminate-instances.at new file mode 100644 index 0000000..7242986 --- /dev/null +++ b/tests/terminate-instances.at | |||
@@ -0,0 +1,39 @@ | |||
1 | # This file is part of Eclat -*- Autotest -*- | ||
2 | # Copyright (C) 2012-2018 Sergey Poznyakoff | ||
3 | # | ||
4 | # Eclat is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 3, or (at your option) | ||
7 | # any later version. | ||
8 | # | ||
9 | # Eclat is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with Eclat. If not, see <http://www.gnu.org/licenses/>. | ||
16 | |||
17 | ECLAT_TEST_FORMAT([TerminateInstances], | ||
18 | [TerminateInstances], | ||
19 | [terminate-instances.fln], | ||
20 | [<TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> | ||
21 | <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> | ||
22 | <instancesSet> | ||
23 | <item> | ||
24 | <instanceId>i-1234567890abcdef0</instanceId> | ||
25 | <currentState> | ||
26 | <code>32</code> | ||
27 | <name>shutting-down</name> | ||
28 | </currentState> | ||
29 | <previousState> | ||
30 | <code>16</code> | ||
31 | <name>running</name> | ||
32 | </previousState> | ||
33 | </item> | ||
34 | </instancesSet> | ||
35 | </TerminateInstancesResponse> | ||
36 | ], | ||
37 | [i-1234567890abcdef0: running => shutting-down | ||
38 | ]) | ||
39 | |||