jason-lang / jason

Jason is a fully-fledged interpreter for an extended version of AgentSpeak, a BDI agent-oriented logic programming language.
http://jason-lang.github.io
GNU Lesser General Public License v3.0
224 stars 67 forks source link

time_frame of .at from 50 to 200 ms #77

Closed cleberjamaral closed 4 years ago

cleberjamaral commented 4 years ago

Giving an enlarged time frame (TF) for .at tests since random failures are happening specially on github, but also sometimes in my machine. TF was 50 ms and now it is 200 ms, which means that the event should occur between the expected moment to happen and this time + TF. This TF being 200 ms can be considered a very tolerant interval. However, the purpose of .at tests is much more to check whether an event was triggered than if the time was exactly respected. It is also important to consider that time varies from machine to machine.

cleberjamaral commented 4 years ago

Errors on CI have occurred on test_set_random_seed. Merging both opened PRs should solve it.