Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail because the domain 28.io is no longer registered to this project #24

Open
ryandesign opened this issue Nov 15, 2024 · 0 comments

Comments

@ryandesign
Copy link

Many tests fail because they try to make http requests to a subdomain of 28.io and that domain is no longer registered to this project; if I visit it in a web browser it says it is for sale.

It takes one second for the domain name lookup to fail and zorba has thousands of tests so this significantly delays the completion of the remaining tests.

One of the failing tests:

1407/4334 Testing: test/rbkt/zorba/http-client/json/get-text/get-text_text_query
1407/4334 Test: test/rbkt/zorba/http-client/json/get-text/get-text_text_query
Command: "/opt/local/var/macports/build/_Volumes_Shared_macports-ports_textproc_zorba/zorba/work/build/test/driver/testdriver" "zorba/http-client/json/get-text/get-text_text_query.xq"
Directory: /opt/local/var/macports/build/_Volumes_Shared_macports-ports_textproc_zorba/zorba/work/build/test/rbkt/Queries
"test/rbkt/zorba/http-client/json/get-text/get-text_text_query" start time: Nov 14 22:23 CST
Output:
----------------------------------------------------------
test zorba/http-client/json/get-text/get-text_text_query
=== Query: ===
jsoniq version "1.0";
import module namespace http="http://zorba.io/modules/http-client";

http:get-text("http://zorbatest.28.io:8080/cgi-bin/test-text?querystring").body.content


=== end of Query ===
Unexpected error executing query:
http://zorba.io/modules/http-client:HTTP: http://zorba.io/modules/http-client:HTTPAn HTTP error occurred: Could not resolve hostname[line 375][column 8][file file:///opt/local/var/macports/build/_Volumes_Shared_macports-ports_textproc_zorba/zorba/work/build/URI_PATH/io/zorba/modules/http-client.module]
Expected error(s): (none)
<end of output>
Test time =   1.08 sec
----------------------------------------------------------
Test Failed.
"test/rbkt/zorba/http-client/json/get-text/get-text_text_query" end time: Nov 14 22:23 CST
"test/rbkt/zorba/http-client/json/get-text/get-text_text_query" time elapsed: 00:00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant