From 5dff60adc52d6d527d186f9ccbaad1cb85e00664 Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Fri, 11 Dec 2020 16:26:44 -0500
Subject: [PATCH] Trying to fix post test again.

---
 api_tests/src/post.spec.ts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/api_tests/src/post.spec.ts b/api_tests/src/post.spec.ts
index 6c7f7f4b..e45e290c 100644
--- a/api_tests/src/post.spec.ts
+++ b/api_tests/src/post.spec.ts
@@ -167,7 +167,7 @@ test('Sticky a post', async () => {
   // Unsticky a post
   let unstickiedPost = await stickyPost(alpha, false, postRes.post);
   expect(unstickiedPost.post.stickied).toBe(false);
-  await delay();
+  await longDelay();
 
   // Make sure that post is unstickied on beta
   let searchBeta2 = await searchPost(beta, postRes.post);
@@ -213,7 +213,7 @@ test('Lock a post', async () => {
   // Unlock a post
   let unlockedPost = await lockPost(alpha, false, postRes.post);
   expect(unlockedPost.post.locked).toBe(false);
-  await delay();
+  await longDelay();
 
   // Make sure that post is unlocked on beta
   let searchBeta2 = await searchPost(beta, postRes.post);
@@ -294,6 +294,7 @@ test('Remove a post from admin and community on same instance', async () => {
 
   // Get the id for beta
   let searchBeta = await searchPost(beta, postRes.post);
+  await longDelay();
   let betaPost = searchBeta.posts[0];
   await longDelay();
 
-- 
2.44.1