You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ make test
go test ./pkg/... ./cmd/... .
[SNIP]
ok github.com/redhat-developer/opencompose/pkg/util 5.716s
[SNIP]
in another run
$ go test -v github.com/redhat-developer/opencompose/pkg/util
=== RUN TestGetURLData
=== RUN TestGetURLData/passing_a_valid_URL
=== RUN TestGetURLData/passing_an_invalid_URL
--- FAIL: TestGetURLData (47.04s)
--- FAIL: TestGetURLData/passing_a_valid_URL (47.04s)
util_test.go:28: GetURLData was expected to succeed for the URL: http://example.com, but it failed with the error: failed fetching data from the URL http://example.com: Get http://example.com: dial tcp 93.184.216.34:80: i/o timeout
--- PASS: TestGetURLData/passing_an_invalid_URL (0.00s)
=== RUN TestFetchURLWithRetries
=== RUN TestFetchURLWithRetries/passing_a_valid_URL
=== RUN TestFetchURLWithRetries/passing_a_URL_with_no_DNS_resolution
=== RUN TestFetchURLWithRetries/passing_a_blank_string_as_URL
=== RUN TestFetchURLWithRetries/passing_a_URL_which_gives_a_non_200_OK_status_code_(gives_404)
--- PASS: TestFetchURLWithRetries (5.33s)
--- PASS: TestFetchURLWithRetries/passing_a_valid_URL (0.91s)
--- PASS: TestFetchURLWithRetries/passing_a_URL_with_no_DNS_resolution (2.25s)
--- PASS: TestFetchURLWithRetries/passing_a_blank_string_as_URL (2.00s)
--- PASS: TestFetchURLWithRetries/passing_a_URL_which_gives_a_non_200_OK_status_code_(gives_404) (0.17s)
FAIL
exit status 1
FAIL github.com/redhat-developer/opencompose/pkg/util 52.376s
another run of same
$ go test -v github.com/redhat-developer/opencompose/pkg/util
=== RUN TestGetURLData
=== RUN TestGetURLData/passing_a_valid_URL
=== RUN TestGetURLData/passing_an_invalid_URL
--- PASS: TestGetURLData (16.47s)
--- PASS: TestGetURLData/passing_a_valid_URL (16.47s)
--- PASS: TestGetURLData/passing_an_invalid_URL (0.00s)
=== RUN TestFetchURLWithRetries
=== RUN TestFetchURLWithRetries/passing_a_valid_URL
=== RUN TestFetchURLWithRetries/passing_a_URL_with_no_DNS_resolution
=== RUN TestFetchURLWithRetries/passing_a_blank_string_as_URL
=== RUN TestFetchURLWithRetries/passing_a_URL_which_gives_a_non_200_OK_status_code_(gives_404)
--- PASS: TestFetchURLWithRetries (21.58s)
--- PASS: TestFetchURLWithRetries/passing_a_valid_URL (16.87s)
--- PASS: TestFetchURLWithRetries/passing_a_URL_with_no_DNS_resolution (2.55s)
--- PASS: TestFetchURLWithRetries/passing_a_blank_string_as_URL (2.00s)
--- PASS: TestFetchURLWithRetries/passing_a_URL_which_gives_a_non_200_OK_status_code_(gives_404) (0.16s)
PASS
ok github.com/redhat-developer/opencompose/pkg/util 38.054s
The text was updated successfully, but these errors were encountered:
$subject
in another run
another run of same
$ go test -v github.com/redhat-developer/opencompose/pkg/util === RUN TestGetURLData === RUN TestGetURLData/passing_a_valid_URL === RUN TestGetURLData/passing_an_invalid_URL --- PASS: TestGetURLData (16.47s) --- PASS: TestGetURLData/passing_a_valid_URL (16.47s) --- PASS: TestGetURLData/passing_an_invalid_URL (0.00s) === RUN TestFetchURLWithRetries === RUN TestFetchURLWithRetries/passing_a_valid_URL === RUN TestFetchURLWithRetries/passing_a_URL_with_no_DNS_resolution === RUN TestFetchURLWithRetries/passing_a_blank_string_as_URL === RUN TestFetchURLWithRetries/passing_a_URL_which_gives_a_non_200_OK_status_code_(gives_404) --- PASS: TestFetchURLWithRetries (21.58s) --- PASS: TestFetchURLWithRetries/passing_a_valid_URL (16.87s) --- PASS: TestFetchURLWithRetries/passing_a_URL_with_no_DNS_resolution (2.55s) --- PASS: TestFetchURLWithRetries/passing_a_blank_string_as_URL (2.00s) --- PASS: TestFetchURLWithRetries/passing_a_URL_which_gives_a_non_200_OK_status_code_(gives_404) (0.16s) PASS ok github.com/redhat-developer/opencompose/pkg/util 38.054s
The text was updated successfully, but these errors were encountered: