aboutsummaryrefslogtreecommitdiffstats
path: root/rust/tests/test_api_server_client.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-31 17:09:35 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-31 17:09:37 -0800
commitf198a9870130484b0ba36b552c7c37ffa5d4d6ca (patch)
tree5588ff7479c59892047676332c7329a859916242 /rust/tests/test_api_server_client.rs
parente16ba3d02564121ae5f27e0784be86137f3b9386 (diff)
downloadfatcat-f198a9870130484b0ba36b552c7c37ffa5d4d6ca.tar.gz
fatcat-f198a9870130484b0ba36b552c7c37ffa5d4d6ca.zip
tests: disable client tests
But un-comments a bunch of code (and fixes type bugs with that). Something about calling iron::http() has broken, such that the call blocks. I thought it might be a port thing, but doesn't seem like it. Presumably this is what was causing problems with the "old_python_tests" second test previously. For now, just disabling; these integration-level tests best done from python anyways.
Diffstat (limited to 'rust/tests/test_api_server_client.rs')
-rw-r--r--rust/tests/test_api_server_client.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/tests/test_api_server_client.rs b/rust/tests/test_api_server_client.rs
index e4ead507..55b7edf4 100644
--- a/rust/tests/test_api_server_client.rs
+++ b/rust/tests/test_api_server_client.rs
@@ -19,7 +19,8 @@ use fatcat_api_spec::{Api, ApiNoContext, Context, ContextWrapperExt, Future};
mod helpers;
use helpers::setup_client;
-#[test]
+// Disabled due to hang
+//#[test]
fn test_basic() {
let (client, mut server) = setup_client();
let client = client.with_context(Context::new());