aboutsummaryrefslogtreecommitdiff
path: root/tests/stop-instances.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stop-instances.at')
-rw-r--r--tests/stop-instances.at39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/stop-instances.at b/tests/stop-instances.at
new file mode 100644
index 0000000..a2dcd45
--- /dev/null
+++ b/tests/stop-instances.at
@@ -0,0 +1,39 @@
+# This file is part of Eclat -*- Autotest -*-
+# Copyright (C) 2012 Sergey Poznyakoff
+#
+# Eclat is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# Eclat is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Eclat. If not, see <http://www.gnu.org/licenses/>.
+
+ECLAT_TEST_FORMAT([StopInstances],
+[StopInstances],
+[stop-instances.fln],
+[<StopInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2012-08-15/">
+ <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
+ <instancesSet>
+ <item>
+ <instanceId>i-10a64379</instanceId>
+ <currentState>
+ <code>64</code>
+ <name>stopping</name>
+ </currentState>
+ <previousState>
+ <code>16</code>
+ <name>running</name>
+ </previousState>
+ </item>
+ </instancesSet>
+</StopInstancesResponse>
+],
+[i-10a64379: running => stopping
+])
+

Return to:

Send suggestions and report system problems to the System administrator.