Skip to content

Commit

Permalink
Add --VoilaExecutor.timeout=240
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart authored and SylvainCorlay committed Jun 1, 2020
1 parent 56e43bc commit 9833463
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/app/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def voila_config():

@pytest.fixture
def voila_args_extra():
return []
return ['--VoilaExecutor.timeout=240']


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/app/execute_cpp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def cpp_file_url(base_url):

@pytest.fixture
def voila_args_extra():
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}']
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}', '--VoilaExecutor.timeout=240']


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/app/no_strip_sources_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@pytest.fixture
def voila_args_extra():
return ['--VoilaConfiguration.strip_sources=False']
return ['--VoilaConfiguration.strip_sources=False', '--VoilaExecutor.timeout=240']


async def test_no_strip_sources(http_server_client, base_url):
Expand Down
2 changes: 1 addition & 1 deletion tests/app/template_arg_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@pytest.fixture
def voila_args_extra():
return ['--template=test_template']
return ['--template=test_template', '--VoilaExecutor.timeout=240']


async def test_template(http_server_client, base_url):
Expand Down
2 changes: 1 addition & 1 deletion tests/app/template_cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def voila_args_extra():
path_test_template = os.path.abspath(os.path.join(BASE_DIR, '../test_template/share/jupyter/voila/templates/test_template/'))
path_default = os.path.abspath(os.path.join(BASE_DIR, '../../share/jupyter/voila/templates/default'))
return ['--template=None', '--VoilaTest.template_paths=[%r, %r]' % (path_test_template, path_default)]
return ['--template=None', '--VoilaTest.template_paths=[%r, %r]' % (path_test_template, path_default), '--VoilaExecutor.timeout=240']


async def test_template_test(http_server_client, base_url):
Expand Down
2 changes: 1 addition & 1 deletion tests/app/template_config_file_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def voila_args_extra():
path_test_template = os.path.abspath(os.path.join(BASE_DIR, '../test_template/share/jupyter/voila/templates/test_template/nbconvert_templates'))
path_default = os.path.abspath(os.path.join(BASE_DIR, '../../share/jupyter/voila/templates/default/nbconvert_templates'))
return ['--template=test_template', '--Voila.nbconvert_template_paths=[%r, %r]' % (path_test_template, path_default)]
return ['--template=test_template', '--Voila.nbconvert_template_paths=[%r, %r]' % (path_test_template, path_default), '--VoilaExecutor.timeout=240']


async def test_template_test(http_server_client, base_url):
Expand Down
2 changes: 1 addition & 1 deletion tests/app/template_custom_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@pytest.fixture
def voila_args_extra():
return ['--template=None']
return ['--template=None', '--VoilaExecutor.timeout=240']


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/app/tree_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def voila_args(notebook_directory, voila_args_extra):

@pytest.fixture
def voila_args_extra():
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}']
return ['--VoilaConfiguration.extension_language_mapping={".xcpp": "C++11"}', '--VoilaExecutor.timeout=240']


async def test_tree(http_server_client, base_url):
Expand Down

0 comments on commit 9833463

Please sign in to comment.