simingweng commented on issue #3198: Feature/create kafka spout
URL: https://github.com/apache/incubator-heron/pull/3198#issuecomment-468955323
 
 
   The Travis CI failed due to the following test failure:
   
   It seems to be due to the actual JSON output just had different order in the 
JSON array compared to the expected output, which, I'm pretty sure, has nothing 
to do the maven test I added for the Kafka Spout. Can someone familiar with the 
integration test code base help with this `IntegrationTest_SlidingTimeWindow1` 
test failure?
   
   > `[2019-02-27 18:05:29 +0000] [ERROR]: Actual result did not match 
expected result
   > [2019-02-27 18:05:29 +0000] [INFO]: Actual result ---------- 
   > 
['{"1":[{"tuplesInWindow":["1"]},{"newTuples":["1"]},{"expiredTuples":[]}]}', 
'{"2":[{"tuplesInWindow":["2","3"]},{"newTuples":["2","3"]},{"expiredTuples":["1"]}]}',
 
'{"3":[{"tuplesInWindow":["4"]},{"newTuples":["4"]},{"expiredTuples":["2","3"]}]}',
 
'{"4":[{"tuplesInWindow":["5"]},{"newTuples":["5"]},{"expiredTuples":["4"]}]}', 
'{"5":[{"tuplesInWindow":["6"]},{"newTuples":["6"]},{"expiredTuples":["5"]}]}', 
'{"6":[{"tuplesInWindow":["7"]},{"newTuples":["7"]},{"expiredTuples":["6"]}]}', 
'{"7":[{"tuplesInWindow":["8"]},{"newTuples":["8"]},{"expiredTuples":["7"]}]}', 
'{"8":[{"tuplesInWindow":["9"]},{"newTuples":["9"]},{"expiredTuples":["8"]}]}', 
'{"9":[{"tuplesInWindow":["10"]},{"newTuples":["10"]},{"expiredTuples":["9"]}]}']
   > [2019-02-27 18:05:29 +0000] [INFO]: Expected result ---------- 
   > 
['{"1":[{"tuplesInWindow":["1"]},{"newTuples":["1"]},{"expiredTuples":[]}]}', 
'{"10":[{"tuplesInWindow":["10"]},{"newTuples":["10"]},{"expiredTuples":["9"]}]}',
 
'{"2":[{"tuplesInWindow":["2"]},{"newTuples":["2"]},{"expiredTuples":["1"]}]}', 
'{"3":[{"tuplesInWindow":["3"]},{"newTuples":["3"]},{"expiredTuples":["2"]}]}', 
'{"4":[{"tuplesInWindow":["4"]},{"newTuples":["4"]},{"expiredTuples":["3"]}]}', 
'{"5":[{"tuplesInWindow":["5"]},{"newTuples":["5"]},{"expiredTuples":["4"]}]}', 
'{"6":[{"tuplesInWindow":["6"]},{"newTuples":["6"]},{"expiredTuples":["5"]}]}', 
'{"7":[{"tuplesInWindow":["7"]},{"newTuples":["7"]},{"expiredTuples":["6"]}]}', 
'{"8":[{"tuplesInWindow":["8"]},{"newTuples":["8"]},{"expiredTuples":["7"]}]}', 
'{"9":[{"tuplesInWindow":["9"]},{"newTuples":["9"]},{"expiredTuples":["8"]}]}']
   > [2019-02-27 18:05:29 +0000] [ERROR]: Checking result failed for 
20190227175427_IntegrationTest_SlidingTimeWindow1_e8519bcd-2a19-4971-b5ef-6bcb1dbf0b6e
 topology :: Traceback (most recent call last):
   >   File "integration_test/src/python/test_runner/main.py", line 204, in 
run_test
   >     return results_checker.check_results()
   >   File "integration_test/src/python/test_runner/main.py", line 123, in 
check_results
   >     return self._compare(expected_results, actual_results)
   >   File "integration_test/src/python/test_runner/main.py", line 136, in 
_compare
   >     raise failure
   > TestFailure: ('Actual result did not match expected result', None)
   > `

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to