File: 000-disable-db-tests.patch

package info (click to toggle)
golang-github-canonical-candid 1.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates
  • size: 2,944 kB
  • sloc: python: 1,840; sh: 248; makefile: 82
file content (92 lines) | stat: -rw-r--r-- 2,472 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
From: Mathias Gibbens <mathias@calenhad.com>
Description: Disable tests that depend on a functional database being available
Forwarded: not-needed
diff --git a/cmd/migrate-db/internal/legacy_test.go b/cmd/migrate-db/internal/legacy_test.go
index 9c62f3c..0ab3777 100644
--- a/cmd/migrate-db/internal/legacy_test.go
+++ b/cmd/migrate-db/internal/legacy_test.go
@@ -1,6 +1,8 @@
 // Copyright 2018 Canonical Ltd.
 // Licensed under the AGPLv3, see LICENCE file for details.
 
+//go:build ignore
+
 package internal_test
 
 import (
diff --git a/internal/debug/debug_test.go b/internal/debug/debug_test.go
index 150d2d5..91e98c0 100644
--- a/internal/debug/debug_test.go
+++ b/internal/debug/debug_test.go
@@ -1,6 +1,8 @@
 // Copyright 2014 Canonical Ltd.
 // Licensed under the AGPLv3, see LICENCE file for details.
 
+//go:build ignore
+
 package debug_test
 
 import (
diff --git a/internal/debug/login_test.go b/internal/debug/login_test.go
index 682652d..f7904d2 100644
--- a/internal/debug/login_test.go
+++ b/internal/debug/login_test.go
@@ -1,6 +1,8 @@
 // Copyright 2016 Canonical Ltd.
 // Licensed under the AGPLv3, see LICENCE file for details.
 
+//go:build ignore
+
 package debug_test
 
 import (
diff --git a/store/mgostore/backend_test.go b/store/mgostore/backend_test.go
index 63eaa50..1bc0a3b 100644
--- a/store/mgostore/backend_test.go
+++ b/store/mgostore/backend_test.go
@@ -1,3 +1,5 @@
+//go:build ignore
+
 package mgostore_test
 
 import (
diff --git a/store/mgostore/config_test.go b/store/mgostore/config_test.go
index 2a98cc7..508702e 100644
--- a/store/mgostore/config_test.go
+++ b/store/mgostore/config_test.go
@@ -1,3 +1,5 @@
+//go:build ignore
+
 package mgostore_test
 
 import (
diff --git a/store/mgostore/mgostore_test.go b/store/mgostore/mgostore_test.go
index 9f1c482..7136f68 100644
--- a/store/mgostore/mgostore_test.go
+++ b/store/mgostore/mgostore_test.go
@@ -1,3 +1,5 @@
+//go:build ignore
+
 package mgostore_test
 
 import (
diff --git a/store/sqlstore/config_test.go b/store/sqlstore/config_test.go
index 0b0823e..3672a80 100644
--- a/store/sqlstore/config_test.go
+++ b/store/sqlstore/config_test.go
@@ -1,3 +1,5 @@
+//go:build ignore
+
 package sqlstore_test
 
 import (
diff --git a/store/sqlstore/postgres_test.go b/store/sqlstore/postgres_test.go
index f9ccc64..02fb62e 100644
--- a/store/sqlstore/postgres_test.go
+++ b/store/sqlstore/postgres_test.go
@@ -1,3 +1,5 @@
+//go:build ignore
+
 package sqlstore_test
 
 import (