Fix MismatchError error when checking flavor value
Fixes bug #1119751
Change-Id: I83ad4e7fa5d706e226e647a9e201d3260d62cecb
diff --git a/tempest/tests/compute/servers/test_server_actions.py b/tempest/tests/compute/servers/test_server_actions.py
index fd35461..bc6b635 100644
--- a/tempest/tests/compute/servers/test_server_actions.py
+++ b/tempest/tests/compute/servers/test_server_actions.py
@@ -136,7 +136,7 @@
self.client.wait_for_server_status(self.server_id, 'ACTIVE')
resp, server = self.client.get_server(self.server_id)
- self.assertEqual(self.flavor_ref_alt, server['flavor']['id'])
+ self.assertEqual(self.flavor_ref_alt, int(server['flavor']['id']))
@attr(type='positive')
@testtools.skipIf(not resize_available, 'Resize not available.')