summaryrefslogtreecommitdiffstats
path: root/tests/migration-test.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: check that migration parameters are really assignedJuan Quintela2017-10-291-3/+24
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
* tests: Don't abuse global_qtestJuan Quintela2017-10-291-28/+27Star
| | | | | | | | As we have two guests running, just pass always who we want to send a message to. Once there, refactor return_or_event() into wait_command. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
* tests: Factorize out migrate_test_start/endJuan Quintela2017-10-291-38/+48
| | | | | | | We fix global_test users left and right Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
* tests: Refactor setting of parameters/capabilitiesJuan Quintela2017-10-291-37/+64
| | | | | | | So we can use them in future tests Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
* tests: rename postcopy-test to migration-testJuan Quintela2017-10-291-0/+535
Instead of repeating the code, we are going to bo more tests on this file Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>