lf-lang / lingua-franca

Intuitive concurrent programming in any language
https://www.lf-lang.org
Other
238 stars 63 forks source link

TS `Deadline` test errored on OSX #229

Closed lhstrh closed 3 years ago

lhstrh commented 4 years ago
Executing command:node Deadline/dist/Deadline.js

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Source sends: 0

Destination receives: 0

****: (1 secs; 79326976 nsecs)

****: (1 secs; 279417088 nsecs)

Source sends: 1

Destination deadline handler receives: 1

Source sends: 2

Destination deadline handler receives: 2

ERROR: Deadline miss handler invoked without deadline violation.

Exception occurred in reaction: Deadline/d[R0]: Error: An unexpected error has occurred.

/Users/travis/build/icyphy/lingua-franca/test/TS/Deadline/dist/reactor.js:2452

            throw e;

            ^

Error: An unexpected error has occurred.
lhstrh commented 4 years ago

Note: this is a transient error that might be difficult to reproduce. I might relate to the system load on Travis. This is just a reminder to look into this at some point.

edwardalee commented 4 years ago

This is not on Travis. This is on my Mac. I can no longer run the tests nor the command-line compiler.

lhstrh commented 4 years ago

I know that. Can you run the command build-lfc --clean and let me know if this fixes the problem for you? It did on Travis.

edwardalee commented 4 years ago

Ah yes, that seems to fix it!

lhstrh commented 3 years ago

Adding more slack has addressed this concern as expected.