GeoscienceAustralia / eqrm

Automatically exported from code.google.com/p/eqrm
Other
5 stars 4 forks source link

test all failing on vayu. #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run test all
2.
3.

What is the expected output? What do you see instead?
{{{

F
======================================================================
FAIL: test_add_nci_info2log (__main__.logAnalyserCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_log_analyser.py", line 306, in test_add_nci_info2log
    self.assertMultiLineEqual(result, actual)
  File "test_log_analyser.py", line 127, in assertMultiLineEqual
    self.fail("Multi-line strings are unequal:\n" + message)
AssertionError: Multi-line strings are unequal:

  2013-04-02 13:40:57,720 DEBUG                     analysis:154 |Logfile is
  2013-04-02 13:40:57,737 INFO                      analysis:158 |Logfile is
  2013-04-02 13:40:57,743 INFO                      analysis:159 |JS*N{"para
  2013-04-02 13:41:02,719 DEBUG                     analysis:1099|Memory: ca
  2013-04-02 13:41:02,720 DEBUG                     analysis:1103|JS*N{"peak

- JS*N{"Max virtual memory (MB)": 1697.0, "Number of cpus": 8.0, "Requested 
                                    ^^^^
+ JS*N{"Max virtual memory (MB)": 1697.0, "Number of cpus": 8.0, "Requested 
                                    ^^^^

----------------------------------------------------------------------
Ran 1 test in 0.278s
}}}

Original issue reported on code.google.com by dunk.tra...@gmail.com on 9 May 2013 at 6:18

GoogleCodeExporter commented 9 years ago
This test is relying on two files being written at different times.  I fixed 
the test by adding a sleep in; time.sleep(0.005)

Original comment by dunk.tra...@gmail.com on 9 May 2013 at 6:20

GoogleCodeExporter commented 9 years ago
Bumped sleep up to 1sec, only sleeping for vayu.

Original comment by duncan.g...@gmail.com on 9 May 2013 at 6:31

GoogleCodeExporter commented 9 years ago
re-opened the ticket.  It is failing on a linux PC too.

Original comment by duncan.g...@gmail.com on 31 May 2013 at 9:44

GoogleCodeExporter commented 9 years ago
fixed in revision 1421

Original comment by duncan.g...@gmail.com on 31 May 2013 at 9:45