The above testhttps://github.com/vorburger/opendaylight-bot/blob/b3fa1e4c2b133696d727f9f41fb8e7b96fb83b66/bot/src/test/java/org/opendaylight/bot/templates/test/TestTemplate.java
fails in Windows due to small bug , but runs perfectly well in Linux.
It will fail in Mac too.
Solution
Replace hello world\n to hello world\r\n for Windows and hello world\r for MAC.
But we need 3 cases for this
Some check condition for which OS its running on?
The above testhttps://github.com/vorburger/opendaylight-bot/blob/b3fa1e4c2b133696d727f9f41fb8e7b96fb83b66/bot/src/test/java/org/opendaylight/bot/templates/test/TestTemplate.java
fails in Windows due to small bug , but runs perfectly well in Linux.
It will fail in Mac too.
Solution
Replace
hello world\n
tohello world\r\n
for Windows andhello world\r
for MAC.But we need 3 cases for this Some check condition for which OS its running on?
@vorburger thoughts?