[
https://issues.apache.org/jira/browse/COLLECTIONS-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530395#comment-17530395
]
Ng Tsz Sum commented on COLLECTIONS-812:
----------------------------------------
The error occur when there is 1 sec different between saving expected and
actual.
!screenshot-1.png|width=728,height=306!
The string value of actual
{noformat}
#Hello world!
#Sat Apr 30 22:00:30 HKT 2022
{noformat}
The string value of expected
{noformat}
#Hello world!
#Sat Apr 30 22:00:31 HKT 2022
{noformat}
> Fragile test EmptyPropertiesTest.testSave
> -----------------------------------------
>
> Key: COLLECTIONS-812
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-812
> Project: Commons Collections
> Issue Type: Test
> Affects Versions: 4.4
> Reporter: Bruno P. Kinoshita
> Priority: Minor
> Attachments: screenshot-1.png
>
>
> Fragile test EmptyPropertiesTest.testSave, found in
> [https://github.com/apache/commons-collections/pull/304.]
> It passed after I kicked GH Actions.
> {noformat}
> Error: Failures:
> Error: EmptyPropertiesTest.testSave:278 #Hello world!
> #Fri Apr 29 16:05:40 GMT 2022
> ==> array contents differ at index [32], expected: <52> but was: <51>
> [INFO]
> Error: Tests run: 22274, Failures: 1, Errors: 0, Skipped: 4 {noformat}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)