You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Shanthoosh Venkataraman (JIRA)" <ji...@apache.org> on 2019/03/16 18:28:00 UTC

[jira] [Created] (SAMZA-2128) Fix samza-sql flaky tests.

Shanthoosh Venkataraman created SAMZA-2128:
----------------------------------------------

             Summary: Fix samza-sql flaky tests.
                 Key: SAMZA-2128
                 URL: https://issues.apache.org/jira/browse/SAMZA-2128
             Project: Samza
          Issue Type: Task
            Reporter: Shanthoosh Venkataraman


While doing the release validation for samza 1.1 release, we observed that some test-cases in samza-sql module were flaky. Here're the stacktraces emitted from failed gradle build:


{code:java}
testEndToEndStreamTableInnerJoinWithUdf FAILED
    java.lang.AssertionError: expected:<20> but was:<19>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:631)
        at org.apache.samza.test.samzasql.TestSamzaSqlEndToEnd.testEndToEndStreamTableInnerJoinWithUdf(TestSamzaSqlEndToEnd.java:517)

testSourceEndToEndWithKeyWithNullForeignKeys FAILED
    java.lang.AssertionError: expected:<10> but was:<0>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:631)
        at org.apache.samza.test.samzasql.TestSamzaSqlRemoteTable.testSourceEndToEndWithKeyWithNullForeignKeys(TestSamzaSqlRemoteTable.java:181)


testSourceEndToEndWithKey FAILED
    java.lang.AssertionError: expected:<20> but was:<0>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:631)
        at org.apache.samza.test.samzasql.TestSamzaSqlRemoteTable.testSourceEndToEndWithKey(TestSamzaSqlRemoteTable.java:118)

testEndToEndFanOut FAILED
    java.lang.AssertionError: expected:<40> but was:<0>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:631)
        at org.apache.samza.test.samzasql.TestSamzaSqlEndToEnd.testEndToEndFanOut(TestSamzaSqlEndToEnd.java:256)        
{code}

This JIRA tracks the work required for fix the samza-sql integration tests




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)