diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 334deb1cc..30b9c9dc8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,7 +49,7 @@ jobs: echo ----------- test adb simulator adb devices - name: Test with pytest - if: ${{ matrix.python-version != env.PYTHON_COVERAGE }} + if: ${{ (matrix.python-version != env.PYTHON_COVERAGE }) || (matrix.os == 'macos-latest')} timeout-minutes: 14 run: | python -m pytest -vvvsss test/ diff --git a/test/cmd/unix/test_cmd_sudo.py b/test/cmd/unix/test_cmd_sudo.py index bde42a61c..1c35770fa 100644 --- a/test/cmd/unix/test_cmd_sudo.py +++ b/test/cmd/unix/test_cmd_sudo.py @@ -34,7 +34,7 @@ def test_sudo_with_wrong_command_parameters(buffer_connection): cmd_sudo = Sudo(connection=buffer_connection.moler_connection, password="pass", cmd_class_name="moler.cmd.unix.telnet.Telnet", cmd_params={"login": "login"}) with pytest.raises(TypeError): - cmd_sudo(timeout=0.1) + cmd_sudo(timeout=0.3) def test_calling_by_command_class(buffer_connection, command_output_and_expected_result): @@ -103,7 +103,7 @@ def test_failing_with_timeout(buffer_connection, command_output_and_expected_res cmd_pwd = Pwd(connection=buffer_connection.moler_connection) cmd_sudo = Sudo(connection=buffer_connection.moler_connection, password="pass", cmd_object=cmd_pwd) with pytest.raises(CommandTimeout): - cmd_sudo(timeout=0.1) + cmd_sudo(timeout=0.3) def test_can_use_timeout_of_embedded_command(buffer_connection, command_output_and_expected_result_timeout):