OpenMRS Core Master

Build: #1572 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Get new order number should always return unique order numbers when called multiple times without saving orders: Test case result

The below summarizes the result of the test "Get new order number should always return unique order numbers when called multiple times without saving orders" in build 1,572 of OpenMRS Core - OpenMRS Core Master - Build and Test. View test case history
Description
Get new order number should always return unique order numbers when called multiple times without saving orders
Test class
org.openmrs.api.OrderServiceTest
Method
getNewOrderNumber_shouldAlwaysReturnUniqueOrderNumbersWhenCalledMultipleTimesWithoutSavingOrders
Duration
1 sec
Status
Failed (New Failure)

Error Log

java.lang.AssertionError: expected:<50> but was:<49>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.openmrs.api.OrderServiceTest.getNewOrderNumber_shouldAlwaysReturnUniqueOrderNumbersWhenCalledMultipleTimesWithoutSavingOrders(OrderServiceTest.java:256)