Sonar metrics for OpenMRS Core Master

Build: #687 failed

Job: Sonar Full Analysis failed

Stages & jobs

  1. Sonar Analysis

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 687 of Sonar - OpenMRS Core Master - Sonar Full Analysis. 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:236)