File: 0001-Skip-tests-which-use-expiered-certificate.patch

package info (click to toggle)
golang-github-docker-go-connections 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports
  • size: 312 kB
  • sloc: makefile: 3
file content (28 lines) | stat: -rw-r--r-- 1,178 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
24
25
26
27
28
From: Shengjing Zhu <zhsj@debian.org>
Date: Mon, 5 Apr 2021 19:38:47 +0800
Subject: Skip tests which use expiered certificate

---
 tlsconfig/config_test.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tlsconfig/config_test.go b/tlsconfig/config_test.go
index 345cbe7..aa94f02 100644
--- a/tlsconfig/config_test.go
+++ b/tlsconfig/config_test.go
@@ -202,6 +202,7 @@ func TestConfigServerTLSClientCASet(t *testing.T) {
 // Exclusive root pools determines whether the CA pool will be a union of the system
 // certificate pool and custom certs, or an exclusive or of the custom certs and system pool
 func TestConfigServerExclusiveRootPools(t *testing.T) {
+	t.Skip("certificate is expired")
 	key, cert := getCertAndKey()
 	ca := getMultiCert()
 
@@ -562,6 +563,7 @@ func TestConfigClientTLSNotSetWithInvalidPassphrase(t *testing.T) {
 // Exclusive root pools determines whether the CA pool will be a union of the system
 // certificate pool and custom certs, or an exclusive or of the custom certs and system pool
 func TestConfigClientExclusiveRootPools(t *testing.T) {
+	t.Skip("certificate is expired")
 	ca := getMultiCert()
 
 	caBytes, err := ioutil.ReadFile(ca)