Skip to content

Commit adf05d9

Browse files
committed
Merge branch 'ci/fix_cpp_leak_test_case' into 'master'
test(cpp): fixed cpp test case mem leak Closes IDFCI-3108 See merge request espressif/esp-idf!41585
2 parents 7a650c6 + 1207e2c commit adf05d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/cxx/test_apps/general/main/test_cxx_general.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ TEST_CASE("call destructors for thread_local classes CXX", "[misc]")
268268
is_tls_class_destructor_called = false;
269269
s_slow_init_sem = xSemaphoreCreateCounting(1, 0);
270270
xTaskCreate(test_thread_local_destructors, "test_thread_local_destructors", 2048, NULL, 10, NULL);
271-
vTaskDelay(1); /* Triggers IDLE task to call prvCheckTasksWaitingTermination() which cleans task-specific data */
271+
vTaskDelay(10); /* Triggers IDLE task to call prvCheckTasksWaitingTermination() which cleans task-specific data */
272272
TEST_ASSERT_TRUE(xSemaphoreTake(s_slow_init_sem, 500 / portTICK_PERIOD_MS));
273273
vSemaphoreDelete(s_slow_init_sem);
274274
TEST_ASSERT_TRUE(is_tls_class_destructor_called);

0 commit comments

Comments
 (0)