]> Untitled Git - lemmy.git/commitdiff
Fix testing by using RUST_TEST_THREADS=1.
authorDessalines <tyhou13@gmx.com>
Tue, 14 Jan 2020 02:02:04 +0000 (21:02 -0500)
committerDessalines <tyhou13@gmx.com>
Tue, 14 Jan 2020 02:02:04 +0000 (21:02 -0500)
.travis.yml
server/src/schema.rs

index 78423282f9e6f5223b1a8ed9a8045a1db79546bc..32351c8ecaf0cf16412d6cd56d4ce51f00b0879f 100644 (file)
@@ -27,5 +27,7 @@ script:
   - cargo test
 env:
   - DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
+  - RUST_TEST_THREADS=1
+
 addons:
   postgresql: "9.4"
index 61957067c51b2a071d69dad9cc320dc3221e9a10..bba39c305b393dbbe28fcd19d58509cc6f0b761d 100644 (file)
@@ -335,30 +335,30 @@ joinable!(user_mention -> comment (comment_id));
 joinable!(user_mention -> user_ (recipient_id));
 
 allow_tables_to_appear_in_same_query!(
-  category,
-  comment,
-  comment_like,
-  comment_saved,
-  community,
-  community_follower,
-  community_moderator,
-  community_user_ban,
-  mod_add,
-  mod_add_community,
-  mod_ban,
-  mod_ban_from_community,
-  mod_lock_post,
-  mod_remove_comment,
-  mod_remove_community,
-  mod_remove_post,
-  mod_sticky_post,
-  password_reset_request,
-  post,
-  post_like,
-  post_read,
-  post_saved,
-  site,
-  user_,
-  user_ban,
-  user_mention,
+    category,
+    comment,
+    comment_like,
+    comment_saved,
+    community,
+    community_follower,
+    community_moderator,
+    community_user_ban,
+    mod_add,
+    mod_add_community,
+    mod_ban,
+    mod_ban_from_community,
+    mod_lock_post,
+    mod_remove_comment,
+    mod_remove_community,
+    mod_remove_post,
+    mod_sticky_post,
+    password_reset_request,
+    post,
+    post_like,
+    post_read,
+    post_saved,
+    site,
+    user_,
+    user_ban,
+    user_mention,
 );