File: 009-skip-flaky-tests.patch

package info (click to toggle)
lxd 5.0.2%2Bgit20231211.1364ae4-9%2Bdeb13u2
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 26,232 kB
  • sloc: sh: 14,275; ansic: 3,112; python: 432; makefile: 265; ruby: 51; sql: 50; javascript: 9; lisp: 6
file content (23 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Mathias Gibbens <gibmat@debian.org>
Description: Skip a couple of flaky tests
Forwarded: https://github.com/canonical/lxd/issues/14455
diff --git a/lxd/api_cluster_test.go b/lxd/api_cluster_test.go
index 953d34349..8c81519df 100644
--- a/lxd/api_cluster_test.go
+++ b/lxd/api_cluster_test.go
@@ -15,6 +15,7 @@ import (
 // A LXD node which is already configured for networking can be converted to a
 // single-node LXD cluster.
 func TestCluster_Bootstrap(t *testing.T) {
+	t.Skip("Skipping flaky test")
 	daemon, cleanup := newTestDaemon(t)
 	defer cleanup()
 
@@ -55,6 +56,7 @@ func TestCluster_Get(t *testing.T) {
 
 // A LXD node can be renamed.
 func TestCluster_RenameNode(t *testing.T) {
+	t.Skip("Skipping flaky test")
 	daemon, cleanup := newTestDaemon(t)
 	defer cleanup()