Skip to content

Commit

Permalink
test non flask object to be pickled
Browse files Browse the repository at this point in the history
  • Loading branch information
jiakf committed Feb 8, 2024
1 parent 16fcf12 commit e0620c6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
strategy:
matrix:
os:
- macos-11
- macos-12
- macos-13
- ubuntu-20.04
- ubuntu-22.04
- windows-2019
# - macos-11
# - macos-12
# - macos-13
# - ubuntu-20.04
# - ubuntu-22.04
# - windows-2019
- windows-2022
python:
- 3.8
Expand Down
3 changes: 1 addition & 2 deletions gdc_client/parcel/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@

if OS_WINDOWS:
WINDOWS = True
# from queue import Queue
from multiprocessing import Queue
from queue import Queue
else:
# if we are running on a posix system, then we will be
# communicating across processes, and will need
Expand Down
7 changes: 6 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,12 @@ def setup_mock_server() -> None:
# import mock_server here to avoid cyclic import
import mock_server

server = Process(target=mock_server.app.run)
def run():
while True:
continue

# server = Process(target=mock_server.app.run)
server = Process(target=run)
server.start()
time.sleep(2)
yield
Expand Down

0 comments on commit e0620c6

Please sign in to comment.