summaryrefslogtreecommitdiffstats
path: root/rust/tests/helpers.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-09 00:28:19 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-09 00:31:52 -0800
commitaef5781fdf5eca67ea7b2c04399500994090050d (patch)
treef16e53d7714e9a980cdb6a58d14491784b90b229 /rust/tests/helpers.rs
parent5dca65fa0992bedb826aa7a762dc69e1beaed2de (diff)
downloadfatcat-aef5781fdf5eca67ea7b2c04399500994090050d.tar.gz
fatcat-aef5781fdf5eca67ea7b2c04399500994090050d.zip
revert pg_tmp parallel tests (for now)
I really want these to work, but even with jitter get frequent test failures, and CI is broken.
Diffstat (limited to 'rust/tests/helpers.rs')
-rw-r--r--rust/tests/helpers.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/tests/helpers.rs b/rust/tests/helpers.rs
index 2ba94a5c..677a8855 100644
--- a/rust/tests/helpers.rs
+++ b/rust/tests/helpers.rs
@@ -36,7 +36,7 @@ pub fn setup_client() -> (Client, Context, Listening) {
let mut iron_server = Iron::new(chain);
iron_server.threads = 1;
- // XXX: this isn't support to block, but it is. Disabling these tests for now.
+ // XXX: this isn't supposed to block, but it is. Disabling these tests for now.
let iron_server = iron_server
.http("localhost:9300")
.expect("Failed to start HTTP server");
@@ -51,7 +51,7 @@ pub fn setup_http() -> (
iron::middleware::Chain,
diesel::r2d2::PooledConnection<diesel::r2d2::ConnectionManager<diesel::PgConnection>>,
) {
- let server = fatcat::create_test_server().unwrap();
+ let server = server::create_test_server().unwrap();
let conn = server.db_pool.get().expect("db_pool error");
// setup auth as admin user