summary refs log tree commit diff stats
path: root/tests/qtest/migration/tls-tests.c
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2025-02-07 15:31:04 +0000
committerAlex Bennée <alex.bennee@linaro.org>2025-02-10 13:47:58 +0000
commit43ab3fb375ebb55c5b2ee7b88945f1466e7e2d5f (patch)
tree11834bb3829ce5303e246c14c3e858bfb7dc679a /tests/qtest/migration/tls-tests.c
parentbc2a1f1a45eb9d52d0e22fea93589bab1a6e95be (diff)
downloadfocaccia-qemu-43ab3fb375ebb55c5b2ee7b88945f1466e7e2d5f.tar.gz
focaccia-qemu-43ab3fb375ebb55c5b2ee7b88945f1466e7e2d5f.zip
tests/qtest/migration: Pick smoke tests
Choose a few tests per group and move them from the full set to the
smoke set.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20250130184012.5711-3-farosas@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250207153112.3939799-10-alex.bennee@linaro.org>
Diffstat (limited to 'tests/qtest/migration/tls-tests.c')
-rw-r--r--tests/qtest/migration/tls-tests.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/qtest/migration/tls-tests.c b/tests/qtest/migration/tls-tests.c
index aee56930ac..2cb4a44bcd 100644
--- a/tests/qtest/migration/tls-tests.c
+++ b/tests/qtest/migration/tls-tests.c
@@ -722,10 +722,18 @@ static void test_multifd_tcp_tls_x509_reject_anon_client(void)
 }
 #endif /* CONFIG_TASN1 */
 
+static void migration_test_add_tls_smoke(MigrationTestEnv *env)
+{
+    migration_test_add("/migration/precopy/tcp/tls/psk/match",
+                       test_precopy_tcp_tls_psk_match);
+}
+
 void migration_test_add_tls(MigrationTestEnv *env)
 {
     tmpfs = env->tmpfs;
 
+    migration_test_add_tls_smoke(env);
+
     if (!env->full_set) {
         return;
     }
@@ -755,8 +763,6 @@ void migration_test_add_tls(MigrationTestEnv *env)
                        test_precopy_unix_tls_x509_override_host);
 #endif /* CONFIG_TASN1 */
 
-    migration_test_add("/migration/precopy/tcp/tls/psk/match",
-                       test_precopy_tcp_tls_psk_match);
     migration_test_add("/migration/precopy/tcp/tls/psk/mismatch",
                        test_precopy_tcp_tls_psk_mismatch);
 #ifdef CONFIG_TASN1