[geonetwork/core-geonetwork] 3dcbcc: avoid randomly failing test

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[geonetwork/core-geonetwork] 3dcbcc: avoid randomly failing test

Florent gravin-2
  Branch: refs/heads/develop
  Home:   https://github.com/geonetwork/core-geonetwork
  Commit: 3dcbccb796df8519f93453e38d8e0cbb758129e0
      https://github.com/geonetwork/core-geonetwork/commit/3dcbccb796df8519f93453e38d8e0cbb758129e0
  Author: Christophe Mangeat <[hidden email]>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M domain/src/test/java/org/fao/geonet/repository/UserRepositoryTest.java

  Log Message:
  -----------
  avoid randomly failing test

there are tests which expects users list to be ordered given their names
and names to be ordered given their creation order: the later a test user
is created, the later it has to appear in ordered users list, the problem
is that "9" is greater than "10", whereas "09" is smaller than "10".


  Commit: abe5c2ab517e98004284f6ab13bfd26a97e411a9
      https://github.com/geonetwork/core-geonetwork/commit/abe5c2ab517e98004284f6ab13bfd26a97e411a9
  Author: Florent Gravin <[hidden email]>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M domain/src/test/java/org/fao/geonet/repository/UserRepositoryTest.java

  Log Message:
  -----------
  Merge pull request #2084 from cmangeat/avoid_randomly_failing_tests

avoid randomly failing test


Compare: https://github.com/geonetwork/core-geonetwork/compare/53121f53e543...abe5c2ab517e
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-commit mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-commit