Skip to content

Commit

Permalink
temp disable smb test on mac CI; until actions/runner-images#1042
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Jun 24, 2020
1 parent 85c097a commit 973fcdf
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions jupyterfs/tests/test_fsmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
test_name_port_smb_docker_share = 3669

test_direct_tcp_smb_os_share = False
test_host_smb_os_share = socket.gethostbyname_ex(socket.gethostname())[2][-1]
#TODO: remove the try/except once https://github.com/actions/virtual-environments/issues/1042 is resolved
try:
test_host_smb_os_share = socket.gethostbyname_ex(socket.gethostname())[2][-1]
except socket.gaierror:
test_host_smb_os_share = 'this_computer'
test_smb_port_smb_os_share = 139

_test_file_model = {
Expand Down Expand Up @@ -136,8 +140,8 @@ def _createContentsManager(self):

return FSManager.open_fs(uri)


@pytest.mark.darwin
#TODO: reenable darwin once https://github.com/actions/virtual-environments/issues/1042 is resolved
# @pytest.mark.darwin
@pytest.mark.linux
class Test_FSManager_smb_docker_share(_TestBase):
"""(mac/linux only. future: windows) runs its own samba server via
Expand Down

0 comments on commit 973fcdf

Please sign in to comment.