Skip to content

Commit

Permalink
vaariable renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
WideAwakeTN committed Jan 5, 2023
1 parent 5959160 commit 02bb3db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ TEST(test_thread, config_rt_thread) {
struct sched_param params_self;
int policy_self;
EXPECT_EQ(0, pthread_getschedparam(pthread_self(), &policy_self, &params_self));
int prio_calculated;
EXPECT_EQ(RCUTILS_RET_OK, calculate_os_fifo_thread_priority(priority, &prio_calculated));
EXPECT_EQ(prio_calculated, params_self.sched_priority);
int os_prio_calculated;
EXPECT_EQ(RCUTILS_RET_OK, calculate_os_fifo_thread_priority(priority, &os_prio_calculated));
EXPECT_EQ(os_prio_calculated, params_self.sched_priority);
EXPECT_EQ(SCHED_FIFO, policy_self);

cpu_set_t cpuset_self;
Expand Down

0 comments on commit 02bb3db

Please sign in to comment.