Skip to content

Commit 171b109

Browse files
authored
Add 10.13 to test matrix (#517)
Run integration tests on 10.13, as well.
1 parent 611f409 commit 171b109

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373
- ROBOT_MODEL: 'ur5e'
7474
URSIM_VERSION: '10.12.0'
7575
PROGRAM_FOLDER: 'tests/resources/dockerursim/programs/polyscopex'
76+
- ROBOT_MODEL: 'ur7e'
77+
URSIM_VERSION: '10.13.0'
78+
PROGRAM_FOLDER: 'tests/resources/dockerursim/programs/polyscopex'
7679

7780
steps:
7881
- uses: actions/checkout@v7

tests/resources/update_prog.urpx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"application": {
33
"id": "6",
44
"applicationInfo": {
5-
"name": "application"
5+
"name": "update_application"
66
},
77
"applicationContent": {
88
"applicationContributions": {

tests/test_dashboard_client_x.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,12 @@ TEST_F(DashboardClientTestX, program_interaction)
199199
ASSERT_TRUE(response.ok);
200200
if (dashboard_client_->getRobotApiVersion() >= VersionInformation::fromString("3.1.4"))
201201
{
202-
response = dashboard_client_->commandGetLoadedProgram();
203-
ASSERT_EQ(std::get<std::string>(response.data["program_name"]), "wait_program");
202+
waitFor(
203+
[&]() {
204+
auto resp = dashboard_client_->commandGetLoadedProgram();
205+
return std::get<std::string>(resp.data["program_name"]) == "wait_program";
206+
},
207+
std::chrono::milliseconds(1000));
204208
}
205209
response = dashboard_client_->commandPowerOn();
206210
ASSERT_TRUE(response.ok);

0 commit comments

Comments
 (0)