[jira] [Updated] (CASSANDRA-15751) CustomNowInSecondsTest.testSelectQuery() is flaky

2020-04-23 Thread Robert Stupp (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Stupp updated CASSANDRA-15751:
-
Source Control Link: 
https://github.com/apache/cassandra/commit/7f0df2e5e55ccad7ae23ed74e3caabba53d63d5e
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

Thanks!

Committed as 
[7f0df2e5e55ccad7ae23ed74e3caabba53d63d5e|https://github.com/apache/cassandra/commit/7f0df2e5e55ccad7ae23ed74e3caabba53d63d5e]
 to [trunk|https://github.com/apache/cassandra/tree/trunk].


> CustomNowInSecondsTest.testSelectQuery() is flaky
> -
>
> Key: CASSANDRA-15751
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15751
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Robert Stupp
>Assignee: Robert Stupp
>Priority: Normal
> Fix For: 4.0
>
>
> The test {{CustomNowInSecondsTest.testSelectQuery()}} is flaky, because the 
> {{now}} [calculated 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L57]
>  but [used 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L70]
>  can be wrong, if the thread running the test method gets stalled.
> The flakiness can be simulated by adding a {{Thread.sleep(1000)}} before the 
> {{executeModify()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15751) CustomNowInSecondsTest.testSelectQuery() is flaky

2020-04-23 Thread Jira


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andres de la Peña updated CASSANDRA-15751:
--
Status: Ready to Commit  (was: Review In Progress)

Looks good to me.

> CustomNowInSecondsTest.testSelectQuery() is flaky
> -
>
> Key: CASSANDRA-15751
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15751
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Robert Stupp
>Assignee: Robert Stupp
>Priority: Normal
> Fix For: 4.0
>
>
> The test {{CustomNowInSecondsTest.testSelectQuery()}} is flaky, because the 
> {{now}} [calculated 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L57]
>  but [used 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L70]
>  can be wrong, if the thread running the test method gets stalled.
> The flakiness can be simulated by adding a {{Thread.sleep(1000)}} before the 
> {{executeModify()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15751) CustomNowInSecondsTest.testSelectQuery() is flaky

2020-04-23 Thread Jira


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andres de la Peña updated CASSANDRA-15751:
--
Reviewers: Andres de la Peña, Andres de la Peña  (was: Andres de la Peña)
   Andres de la Peña, Andres de la Peña
   Status: Review In Progress  (was: Patch Available)

> CustomNowInSecondsTest.testSelectQuery() is flaky
> -
>
> Key: CASSANDRA-15751
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15751
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Robert Stupp
>Assignee: Robert Stupp
>Priority: Normal
> Fix For: 4.0
>
>
> The test {{CustomNowInSecondsTest.testSelectQuery()}} is flaky, because the 
> {{now}} [calculated 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L57]
>  but [used 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L70]
>  can be wrong, if the thread running the test method gets stalled.
> The flakiness can be simulated by adding a {{Thread.sleep(1000)}} before the 
> {{executeModify()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15751) CustomNowInSecondsTest.testSelectQuery() is flaky

2020-04-22 Thread Robert Stupp (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Stupp updated CASSANDRA-15751:
-

PR: https://github.com/apache/cassandra/pull/556

> CustomNowInSecondsTest.testSelectQuery() is flaky
> -
>
> Key: CASSANDRA-15751
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15751
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Robert Stupp
>Assignee: Robert Stupp
>Priority: Normal
> Fix For: 4.0
>
>
> The test {{CustomNowInSecondsTest.testSelectQuery()}} is flaky, because the 
> {{now}} [calculated 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L57]
>  but [used 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L70]
>  can be wrong, if the thread running the test method gets stalled.
> The flakiness can be simulated by adding a {{Thread.sleep(1000)}} before the 
> {{executeModify()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15751) CustomNowInSecondsTest.testSelectQuery() is flaky

2020-04-22 Thread Robert Stupp (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Stupp updated CASSANDRA-15751:
-
Test and Documentation Plan: -
 Status: Patch Available  (was: In Progress)

> CustomNowInSecondsTest.testSelectQuery() is flaky
> -
>
> Key: CASSANDRA-15751
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15751
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Robert Stupp
>Assignee: Robert Stupp
>Priority: Normal
> Fix For: 4.0
>
>
> The test {{CustomNowInSecondsTest.testSelectQuery()}} is flaky, because the 
> {{now}} [calculated 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L57]
>  but [used 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L70]
>  can be wrong, if the thread running the test method gets stalled.
> The flakiness can be simulated by adding a {{Thread.sleep(1000)}} before the 
> {{executeModify()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15751) CustomNowInSecondsTest.testSelectQuery() is flaky

2020-04-22 Thread Robert Stupp (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Stupp updated CASSANDRA-15751:
-
 Bug Category: Parent values: Code(13163)
   Complexity: Low Hanging Fruit
  Component/s: Test/unit
Discovered By: Unit Test
 Severity: Normal
   Status: Open  (was: Triage Needed)

> CustomNowInSecondsTest.testSelectQuery() is flaky
> -
>
> Key: CASSANDRA-15751
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15751
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Robert Stupp
>Assignee: Robert Stupp
>Priority: Normal
> Fix For: 4.0
>
>
> The test {{CustomNowInSecondsTest.testSelectQuery()}} is flaky, because the 
> {{now}} [calculated 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L57]
>  but [used 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L70]
>  can be wrong, if the thread running the test method gets stalled.
> The flakiness can be simulated by adding a {{Thread.sleep(1000)}} before the 
> {{executeModify()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15751) CustomNowInSecondsTest.testSelectQuery() is flaky

2020-04-22 Thread Robert Stupp (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Stupp updated CASSANDRA-15751:
-
Since Version: 4.0-alpha

> CustomNowInSecondsTest.testSelectQuery() is flaky
> -
>
> Key: CASSANDRA-15751
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15751
> Project: Cassandra
>  Issue Type: Bug
>  Components: Test/unit
>Reporter: Robert Stupp
>Assignee: Robert Stupp
>Priority: Normal
> Fix For: 4.0
>
>
> The test {{CustomNowInSecondsTest.testSelectQuery()}} is flaky, because the 
> {{now}} [calculated 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L57]
>  but [used 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L70]
>  can be wrong, if the thread running the test method gets stalled.
> The flakiness can be simulated by adding a {{Thread.sleep(1000)}} before the 
> {{executeModify()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15751) CustomNowInSecondsTest.testSelectQuery() is flaky

2020-04-22 Thread Robert Stupp (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Stupp updated CASSANDRA-15751:
-
Fix Version/s: 4.0

> CustomNowInSecondsTest.testSelectQuery() is flaky
> -
>
> Key: CASSANDRA-15751
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15751
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Robert Stupp
>Assignee: Robert Stupp
>Priority: Normal
> Fix For: 4.0
>
>
> The test {{CustomNowInSecondsTest.testSelectQuery()}} is flaky, because the 
> {{now}} [calculated 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L57]
>  but [used 
> here|https://github.com/snazy/cassandra/blob/5242f7d4306f034f32e26834df06ff7fc85a3c16/test/unit/org/apache/cassandra/cql3/CustomNowInSecondsTest.java#L70]
>  can be wrong, if the thread running the test method gets stalled.
> The flakiness can be simulated by adding a {{Thread.sleep(1000)}} before the 
> {{executeModify()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org