Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/e2e/tests/search_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import time

from google.appengine.api import search
import pytest

Expand All @@ -27,6 +29,10 @@ def index():
value='hello world'),
])
index.put(doc)

# Search is eventually consistent, so sleep for 2 seconds before continuing
time.sleep(2)

return index


Expand Down