You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Brian Lachniet (JIRA)" <ji...@apache.org> on 2019/01/12 20:03:00 UTC

[jira] [Commented] (AVRO-2301) C# TestSyncAndSeekPositions unit tests take too long to run

    [ https://issues.apache.org/jira/browse/AVRO-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16741390#comment-16741390 ] 

Brian Lachniet commented on AVRO-2301:
--------------------------------------

For reference: it appears that [{{testSyncDiscovery}}|https://github.com/apache/avro/blob/eb06f71861025c9261b5ad7a09cab0c46f2ac311/lang/java/avro/src/test/java/org/apache/avro/TestDataFile.java#L196] is the Java equivalent of this test.

> C# TestSyncAndSeekPositions unit tests take too long to run
> -----------------------------------------------------------
>
>                 Key: AVRO-2301
>                 URL: https://issues.apache.org/jira/browse/AVRO-2301
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>            Reporter: Brian Lachniet
>            Priority: Minor
>
> The following test cases take a very long time to run in the C# FileTests:
> {code:c#}
> [TestCase(specificSchema, Codec.Type.Null, 1000, 588, 998)]
> [TestCase(specificSchema, Codec.Type.Deflate, 1000, 588, 998)]
> public void TestSyncAndSeekPositions(string schemaStr, Codec.Type codecType, int iterations, int firstSyncPosition, int secondSyncPosition)
> {code}
> These tests were disabled in [f035c4c|https://github.com/apache/avro/pull/307/commits/f035c4c9c1d9f9e92dfd869252be0e29634efbc2] while wrapping up AVRO-2112 because they were causing the Travis CI build to timeout.
> We need to optimize these tests to make them run in a timely manner.



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