HPCE / hpce-2018-cw2

1 stars 6 forks source link

Test failing for no obvious reason #70

Closed m8pple closed 7 years ago

m8pple commented 7 years ago

I have noticed that one of my tests is failing for coursework 2. I tried investigating the problem, but I don't have any printf-s or std::cout's in my code, so I couldn't figure out the problem. I also double checked my register factories, makefile and class names to no avail.

I was just wondering if you could shed some light on this error.

image

m8pple commented 7 years ago

One of the defensive measures used in the tests is that if things take too long, then they are killed (using /usr/bin/timeout). The timeout is set long enough that any reasonable implementation should complete, but short enough that a few infinite loops don't cause the entire batch to take a whole day.

I don't think I put any logic in to print a specific message for timeouts, so that's my best guess for what's happening here. Test 34 should take <10 secs in most case, so the execution limit is set to 60 seconds. So I'd investigate:

vinaymaniam commented 7 years ago

Thank you for the detailed explanation!