[infinispan-issues] [JBoss JIRA] (ISPN-9383) TestNG Reporter will generate a new testcase in Polarion when toString point to hashCode

Diego Lovison (JIRA) issues at jboss.org
Tue Jul 17 09:12:00 EDT 2018


Diego Lovison created ISPN-9383:
-----------------------------------

             Summary: TestNG Reporter will generate a new testcase in Polarion when toString point to hashCode
                 Key: ISPN-9383
                 URL: https://issues.jboss.org/browse/ISPN-9383
             Project: Infinispan
          Issue Type: Bug
            Reporter: Diego Lovison


We are using the test method Name(arguments) to store the informations in Polarion
Here are some examples:
{noformat}
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2157/681959835 at 68a0620f, false])
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2152/1823898408 at b34c679, false])
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2158/2043784776 at 18572695, false])
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2157/681959835 at 68a0620f, true])
org.infinispan.persistence.APINonTxPersistenceTest,testLockedStreamActuallyLocks([org.infinispan.api.APINonTxTest$$Lambda$2154/349749176 at 1a859768, true])
{noformat}

In this case, every time that we will run the test, the toString of the lambda expression will change and Polarion will generate a new test case.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list