mythmon / crimsontwins

We have these two big TVs on the wall. This is something to do with them.
Mozilla Public License 2.0
25 stars 5 forks source link

treat negative timeouts as infinite #38

Closed lonnen closed 11 years ago

lonnen commented 11 years ago

when a negative timeout is supplied, CT should not set a new timeout and instead keep the content up indefinitely. this commit also adds some utilities and documentation to improve local testrunning.

partial solution for issue #27

lonnen commented 11 years ago

Updated. Tests use the mock config file, and when no time is provided to makeTimeout it will fall back to the config default.

fwenzel commented 11 years ago

So what's timeout == 0 mean?

lonnen commented 11 years ago

timeout == 0 is an immediate timeout. It will clear any existing timeouts and cycle the screen. It's effectively the same as reset.

lonnen commented 11 years ago

strange error. locally it succeeds with node v0.10 and v0.8

mythmon commented 11 years ago

I'm going to call Travis a liar on this one.