File 0206-ct-Skip-upgrade-tests-on-gh-as-versions-are-not-alwa.patch of Package erlang

From 6ddcabf856e118ee06346cc2a88138d0100880f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Tue, 29 Oct 2024 12:20:32 +0100
Subject: [PATCH] ct: Skip upgrade tests on gh as versions are not always
 correct

---
 lib/common_test/test/Makefile            | 2 +-
 lib/common_test/test/common_test_gh.spec | 2 ++
 lib/ssl/test/ssl_gh.spec                 | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 lib/common_test/test/common_test_gh.spec

diff --git a/lib/common_test/test/Makefile b/lib/common_test/test/Makefile
index 7070639b9b..e611e67c78 100644
--- a/lib/common_test/test/Makefile
+++ b/lib/common_test/test/Makefile
@@ -133,7 +133,7 @@ release_spec: opt
 release_tests_spec:
 	$(INSTALL_DIR) "$(RELSYSDIR)"
 	$(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(COVERFILE) "$(RELSYSDIR)"
-	$(INSTALL_DATA) common_test.spec common_test.cover "$(RELSYSDIR)"
+	$(INSTALL_DATA) common_test.spec common_test_gh.spec common_test.cover "$(RELSYSDIR)"
 	chmod -R u+w "$(RELSYSDIR)"
 	@tar cf - *_SUITE_data property_test | (cd "$(RELSYSDIR)"; tar xf -)
 
diff --git a/lib/common_test/test/common_test_gh.spec b/lib/common_test/test/common_test_gh.spec
new file mode 100644
index 0000000000..803bd3c54c
--- /dev/null
+++ b/lib/common_test/test/common_test_gh.spec
@@ -0,0 +1,2 @@
+{suites,"../common_test_test",all}.
+{skip_suites,"../common_test_test",[ct_release_test_SUITE],"Versions not always correct"}.
diff --git a/lib/ssl/test/ssl_gh.spec b/lib/ssl/test/ssl_gh.spec
index 2daea55774..5b00c662ac 100644
--- a/lib/ssl/test/ssl_gh.spec
+++ b/lib/ssl/test/ssl_gh.spec
@@ -2,6 +2,7 @@
 {alias,dir,"../ssl_test"}.
 
 {suites,dir,all}.
+{skip_suites,dir,[ssl_upgrade_SUITE], "Versions not always correct"}.
 {skip_groups,all_nodes, dir, openssl_session_ticket_SUITE, 'openssl_server',
  {cases,[openssl_server_hrr]},"Unstable testcases"}.
 {skip_groups,dir,ssl_bench_SUITE,setup,"Benchmarks run separately"}.
-- 
2.43.0

openSUSE Build Service is sponsored by