Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1054 Increase freebsd vm memory size, set oflag t…
Browse files Browse the repository at this point in the history
…o zero in test

Signed-off-by: Christian Eltzschig <me@elchris.org>
  • Loading branch information
elfenpiff authored and MatthiasKillat committed Feb 6, 2022
1 parent c45b821 commit 7a07170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ jobs:
uses: vmactions/freebsd-vm@v0.1.6
with:
usesh: true
mem: 2048
prepare: pkg install -y cmake git ncurses bash wget bison
run: ./tools/ci/build-test-freebsd.sh

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_hoofs/test/moduletests/test_semaphore_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ TEST_F(SemaphoreCreate_test, OpenNamedSemaphore)
{
::testing::Test::RecordProperty("TEST_ID", "349cdf0d-987e-4e2f-aa35-98a40fdf979b");
auto semaphore = iox::posix::Semaphore::create(iox::posix::CreateNamedSemaphore, "/fuuSem", S_IRUSR | S_IWUSR, 10);
auto semaphore2 = iox::posix::Semaphore::create(iox::posix::OpenNamedSemaphore, "/fuuSem", O_CREAT);
auto semaphore2 = iox::posix::Semaphore::create(iox::posix::OpenNamedSemaphore, "/fuuSem", 0);
EXPECT_THAT(semaphore.has_error(), Eq(false));
EXPECT_THAT(semaphore2.has_error(), Eq(false));
}
Expand Down

0 comments on commit 7a07170

Please sign in to comment.