Fix a misuse of assertGreaterEqual

In a notification sample functional test,
there is a misuse of assertGreaterEqual.

At least 6 notifications are expected,
So the order of the arguments should be reversed.

Change-Id: I865c215a13fa3bb72e191382187ea8368885846f
Closes-Bug: #1843885
This commit is contained in:
Takashi NATSUME 2019-09-13 20:05:49 +09:00
parent db5caf2ff8
commit 4e0e0a6dd2
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ class TestInstanceNotificationSampleWithMultipleCompute(
# 3. instance.live_migration_pre.end
# 4. instance.live_migration_force_complete.start
# 5. instance.live_migration_force_complete.end
self.assertGreaterEqual(6, len(fake_notifier.VERSIONED_NOTIFICATIONS),
self.assertGreaterEqual(len(fake_notifier.VERSIONED_NOTIFICATIONS), 6,
fake_notifier.VERSIONED_NOTIFICATIONS)
self._verify_notification(
'instance-live_migration_force_complete-start',