Platformio unit test runs the same test case twice

Trying to run a sample test case for mbed framework. Got everything working but running into an issue where the same test case runs twice and one fails and one passes.

platformio.ini

[env:lpc1768]
platform = nxplpc
board = lpc1768
framework = mbed
test_speed = 9600
test_port = /dev/cu.usbmodem142302
#include <mbed.h>
#include <unity.h>


#define WAIT_TIME_MS 2000

void test_numbers(void)
{
    TEST_ASSERT_EQUAL(13,13);
}



void setUp(void) {
    // set stuff up here
   
}

void tearDown(void) {
    // clean stuff up here
}


int main()
{
    thread_sleep_for(WAIT_TIME_MS);
    UNITY_BEGIN(); // IMPORTANT LINE!
    RUN_TEST(test_numbers);
    UNITY_END();

}

Sounds like you have found a bug. Please file a bug in the platform, Issues · platformio/platform-nxplpc · GitHub.

New issue created at Platformio unit test runs the same test case twice · Issue #32 · platformio/platform-nxplpc · GitHub