Skip to content

Commit

Permalink
Add half-second tolerance for Registry to create a versioned flow bef…
Browse files Browse the repository at this point in the history
…ore retrieval during rapid test execution
  • Loading branch information
Chaffelson committed Nov 6, 2020
1 parent 4c7683b commit ecddc4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import pytest
from os import environ, path
from collections import namedtuple
from time import sleep
import nipyapi

log = logging.getLogger(__name__)
Expand Down Expand Up @@ -536,6 +537,7 @@ def fixture_ver_flow(request, fix_bucket, fix_pg, fix_proc):
comment='NiPyApi Test',
desc='NiPyApi Test'
)
sleep(0.5)
f_flow = nipyapi.versioning.get_flow_in_bucket(
bucket_id=f_bucket.identifier,
identifier=f_info.version_control_information.flow_id,
Expand Down

0 comments on commit ecddc4c

Please sign in to comment.