Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
golang-golang-x-net
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Go Packaging Team
packages
golang-golang-x-net
Commits
10ea21ea
Verified
Commit
10ea21ea
authored
4 months ago
by
Maytham Alsudany
Browse files
Options
Downloads
Patches
Plain Diff
Skip publicsuffix tests
Closes: #1089192
parent
e73a7947
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
debian/patches/skip-publicsuffix-tests.patch
+31
-0
31 additions, 0 deletions
debian/patches/skip-publicsuffix-tests.patch
with
32 additions
and
0 deletions
debian/patches/series
+
1
−
0
View file @
10ea21ea
publicsuffix.patch
skip-publicsuffix-tests.patch
This diff is collapsed.
Click to expand it.
debian/patches/skip-publicsuffix-tests.patch
0 → 100644
+
31
−
0
View file @
10ea21ea
From: Maytham Alsudany <maytha8thedev@gmail.com>
Forwarded: no
Description: skip publicsuffix tests
The tests are hardcoded but rely on changing data.
--- a/publicsuffix/list_test.go
+++ b/publicsuffix/list_test.go
@@ -295,6 +295,7 @@
}
func TestPublicSuffix(t *testing.T) {
+ t.SkipNow()
for _, tc := range publicSuffixTestCases {
gotPS, gotICANN := PublicSuffix(tc.domain)
if gotPS != tc.wantPS || gotICANN != tc.wantICANN {
@@ -304,6 +305,7 @@
}
func TestSlowPublicSuffix(t *testing.T) {
+ t.SkipNow()
for _, tc := range publicSuffixTestCases {
gotPS, gotICANN := slowPublicSuffix(tc.domain)
if gotPS != tc.wantPS || gotICANN != tc.wantICANN {
@@ -313,6 +315,7 @@
}
func TestNumICANNRules(t *testing.T) {
+ t.SkipNow()
if numICANNRules <= 0 {
t.Fatal("no ICANN rules")
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment