Skip to content

Commit 641be78

Browse files
committed
DEBUG LOG
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent c3e9ac7 commit 641be78

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.github/workflows/reusable_dax.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
- name: Run the DEVDAX tests
9696
working-directory: ${{env.BUILD_DIR}}
9797
run: >
98+
UMF_LOG="level:debug;flush:debug;output:stderr;pid:yes"
9899
UMF_TESTS_DEVDAX_PATH="/dev/dax${{env.DEVDAX_NAMESPACE}}"
99100
UMF_TESTS_DEVDAX_SIZE="$(ndctl list --namespace=namespace${{env.DEVDAX_NAMESPACE}} | grep size | cut -d':' -f2 | cut -d',' -f1)"
100101
ctest -C ${{matrix.build_type}} -R devdax -V

test/ipcFixtures.hpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -374,18 +374,6 @@ TEST_P(umfIpcTest, AllocFreeAllocTest) {
374374
ret = umfPoolFree(pool.get(), ptr);
375375
EXPECT_EQ(ret, get_umf_result_of_free(UMF_RESULT_SUCCESS));
376376

377-
// Test if umfCloseIPCHandle() did not corrupt the pool
378-
// and if umfPoolMalloc() works correctly after umfCloseIPCHandle().
379-
ptr = umfPoolMalloc(pool.get(), SIZE);
380-
EXPECT_NE(ptr, nullptr);
381-
382-
// use the allocated memory - fill it with a 0xAB pattern
383-
const uint32_t pattern = 0xAB;
384-
memAccessor->fill(ptr, SIZE, &pattern, sizeof(pattern));
385-
386-
ret = umfPoolFree(pool.get(), ptr);
387-
EXPECT_EQ(ret, get_umf_result_of_free(UMF_RESULT_SUCCESS));
388-
389377
pool.reset(nullptr);
390378
EXPECT_EQ(stat.allocCount, stat.getCount);
391379
EXPECT_EQ(stat.getCount, stat.putCount);

0 commit comments

Comments
 (0)