Skip to content

SEVERE WARNING!!! in tests #146

@rotu

Description

@rotu

The MultiClassLoaderTest.noWarningOnLazyLoad test case produces a scary looking warning.

Judging by the name of the case, (1) the warning should not happen (2) the test case is broken for failing to detect this warning.

7: [ RUN      ] MultiClassLoaderTest.noWarningOnLazyLoad
7: Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap! You should delete your objects before attempting to unload the library or destroying the ClassLoader. The library will NOT be unloaded.
7:          at line 158 in /tmp/ws/src/ros/class_loader/src/class_loader.cpp
7: Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap! You should delete your objects before attempting to unload the library or destroying the ClassLoader. The library will NOT be unloaded.
7:          at line 158 in /tmp/ws/src/ros/class_loader/src/class_loader.cpp
7: Meow
7: Bark
7: Beep boop
7: [       OK ] MultiClassLoaderTest.noWarningOnLazyLoad (0 ms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions