[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27039: (tests guix-download) fails when DNS is bogus
From: |
Maxim Cournoyer |
Subject: |
bug#27039: (tests guix-download) fails when DNS is bogus |
Date: |
Tue, 23 May 2017 16:47:02 +0000 |
On May 23, 2017 9:24:31 AM PDT, Leo Famulari <address@hidden> wrote:
>The guix-download test includes this snippet:
>
>------
># Make sure it fails here.
>if guix download http://does.not/exist
>then false; else true; fi
>------
>
>Unfortunately, many ISPs (such as T-Mobile) return bogus results for
>otherwise unclaimed domain names, causing this test to fail.
>
>Does anyone know if there is some domain that is designed to fail as a
>"standard", as <http://example.com> is intended to be used for examples
>of good domains?
Could we simply mock the expected response?
Maxim