Skip to content

Commit

Permalink
WIP - trying to run CI tests with older emulators
Browse files Browse the repository at this point in the history
  • Loading branch information
grdddj committed Oct 25, 2023
1 parent b7cf42a commit a81182a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/binaries/firmware/bin/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if ! wget --no-config -e robots=off --no-verbose --no-clobber --no-parent --cut-
echo "Unable to fetch released emulators from $SITE"
echo "You will have only available latest builds from CI"
echo
fi
fi

# download emulator from master
TMP_DIR="$BIN_DIR/tmp"
Expand Down
14 changes: 7 additions & 7 deletions tests/controller_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
URL = f"ws://{HOST}:{PORT}"

BRIDGE_TO_TEST = "2.0.33"
EMU_TO_TEST_TT = "2-master"
EMU_TO_TEST_T1 = "1-master"
EMU_TO_TEST_TR = "2-master"
EMU_TO_TEST_TT = "2.6.1"
EMU_TO_TEST_T1 = "1.12.1"
# EMU_TO_TEST_TR = "2-master"

# So that the async tests are understood by pytest
pytestmark = pytest.mark.asyncio
Expand Down Expand Up @@ -191,10 +191,10 @@ async def test_emulator_t1_start_stop(websocket) -> None:
)


async def test_emulator_tr_start_stop(websocket) -> None:
await _test_start_stop(
websocket, component="emulator", version=EMU_TO_TEST_TR, model="R"
)
# async def test_emulator_tr_start_stop(websocket) -> None:
# await _test_start_stop(
# websocket, component="emulator", version=EMU_TO_TEST_TR, model="R"
# )


@pytest.mark.parametrize("payload", commands_success)
Expand Down

0 comments on commit a81182a

Please sign in to comment.