-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
python3Packages.elastic-transport: disable async httpbin test #346989
Conversation
Looks like this needs to go to |
cede0cd
to
3da3fab
Compare
The async httbin test requires network access.
3da3fab
to
8f41b75
Compare
@@ -77,6 +77,7 @@ buildPythonPackage rec { | |||
"test_debug_logging_no_body" | |||
"test_httpbin" | |||
"test_sniffed_nodes_added_to_pool" | |||
"test_async_transport_httpbin" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is passing on x86_64 locally for me. On Hydra all archs are passing as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test accesses httpbin.org
on the network, which isn’t okay and would break if Hydra had the sandbox enabled. We already disable test_httpbin
, which is the synchronous version of the test.
@@ -77,6 +77,7 @@ buildPythonPackage rec { | |||
"test_debug_logging_no_body" | |||
"test_httpbin" | |||
"test_sniffed_nodes_added_to_pool" | |||
"test_async_transport_httpbin" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test accesses httpbin.org
on the network, which isn’t okay and would break if Hydra had the sandbox enabled. We already disable test_httpbin
, which is the synchronous version of the test.
The async httbin test requires network access.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.