Files
mostlymatter/store/sqlstore
Agniva De Sarker 3f46cf6f60 MM-18006: Fix flaky test CreateOrRestoreGroupMember (#14955)
Updating a Group or a GroupMember only changed the UpdateAt or CreateAt times
respectively. And it threw an error if number of rows changed was not 1.

However, it can happen that 2 calls happen so fast that 1 milisecond does not pass,
or even 2 concurrent calls at the same time might happen so that model.GetMillis
return the same timestamp. In those cases, the number of rows updated can be 0.

The error should just check if the number is greater than 1, instead of not equal to 1.
This makes it more robust and correct.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-07-18 09:57:58 +05:30
..
2020-07-17 12:56:08 +02:00
2020-07-06 18:20:35 -04:00
2020-07-06 18:20:35 -04:00
2020-06-30 14:44:48 +02:00