Control: tags -1 patch

Hi,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/0002-skip-test-requiring-network-access.patch: Skip TestGetCustom,
    which requires network access and thus fails on Ubuntu buildds.

Thanks for considering the patch.

Logan
diff -Nru 
golang-github-revel-revel-1.0.0/debian/patches/0002-skip-test-requiring-network-access.patch
 
golang-github-revel-revel-1.0.0/debian/patches/0002-skip-test-requiring-network-access.patch
--- 
golang-github-revel-revel-1.0.0/debian/patches/0002-skip-test-requiring-network-access.patch
        1969-12-31 19:00:00.000000000 -0500
+++ 
golang-github-revel-revel-1.0.0/debian/patches/0002-skip-test-requiring-network-access.patch
        2021-01-24 16:37:50.000000000 -0500
@@ -0,0 +1,10 @@
+--- a/testing/testsuite_test.go
++++ b/testing/testsuite_test.go
+@@ -73,6 +73,7 @@
+ 
+ // This test is known to fail
+ func TestGetCustom(t *testing.T) {
++      t.Skip("Requires network access")
+       testSuite := createNewTestSuite(t)
+       for x := 0; x < 5; x++ {
+               testSuite.GetCustom("http://httpbin.org/get";).Send()
diff -Nru golang-github-revel-revel-1.0.0/debian/patches/series 
golang-github-revel-revel-1.0.0/debian/patches/series
--- golang-github-revel-revel-1.0.0/debian/patches/series       2020-11-20 
22:16:55.000000000 -0500
+++ golang-github-revel-revel-1.0.0/debian/patches/series       2021-01-24 
16:37:22.000000000 -0500
@@ -1 +1,2 @@
 0001-skip-memcached-and-redis-tests.patch
+0002-skip-test-requiring-network-access.patch

Reply via email to