| Anonymous | Login | Signup for a new account | 2025-10-31 15:47 MSK |  | 
| My View | View Issues | Change Log | Roadmap | 
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0000012 | Scoring Application Prototype | [All Projects] General | public | 2014-05-15 01:34 | 2016-04-04 10:16 | ||||
| Reporter | ptrue | ||||||||
| Assigned To | ptrue | ||||||||
| Priority | normal | Severity | major | Reproducibility | random | ||||
| Status | resolved | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Sprint #10 | Fixed in Version | Sprint #10 | ||||||
| Summary | 0000012: testSetViewPosition sometimes fails | ||||||||
| Description | From time to time this test fails. testSetViewPosition(com.pt.tnp.ui.CaretGUITest) Time elapsed: 1.21 sec <<< FAILURE! java.lang.AssertionError: expected:<50> but was:<7> at org.junit.Assert.fail(Assert.java:91) at org.junit.Assert.failNotEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:126) at org.junit.Assert.assertEquals(Assert.java:470) at org.junit.Assert.assertEquals(Assert.java:454) at com.pt.tnp.ui.CaretGUITest.testSetViewPosition(CaretGUITest.java:312) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
|  Relationships | |||||||||||
| 
 | |||||||||||
|  Notes | |
| (0000035) ptrue (developer) 2014-06-07 18:53 edited on: 2014-06-07 18:53 | Added 10 retries to the test in the build #200. However in real life it still doesn't always work correctly. Find why. | 
| (0000093) ptrue (developer) 2016-04-04 10:16 | Fixed by adding waitForDisplay in tests | 
|  Issue History | |||
| Date Modified | Username | Field | Change | 
| 2014-05-15 01:34 | ptrue | New Issue | |
| 2014-05-29 19:52 | administrator | Severity | minor => major | 
| 2014-05-30 01:13 | ptrue | Relationship added | related to 0000031 | 
| 2014-06-07 18:53 | ptrue | Note Added: 0000035 | |
| 2014-06-07 18:53 | ptrue | Note Edited: 0000035 | View Revisions | 
| 2014-06-20 04:48 | administrator | Target Version | => Sprint 0000007 | 
| 2014-06-20 04:54 | administrator | Relationship added | child of 0000073 | 
| 2014-07-01 00:16 | administrator | Target Version | Sprint 0000007 => Sprint 0000008 | 
| 2014-07-18 01:57 | administrator | Target Version | Sprint 0000008 => Sprint 0000010 | 
| 2016-04-04 10:15 | ptrue | Assigned To | => ptrue | 
| 2016-04-04 10:15 | ptrue | Status | new => assigned | 
| 2016-04-04 10:16 | ptrue | Note Added: 0000093 | |
| 2016-04-04 10:16 | ptrue | Status | assigned => resolved | 
| 2016-04-04 10:16 | ptrue | Fixed in Version | => Sprint 0000010 | 
| 2016-04-04 10:16 | ptrue | Resolution | open => fixed | 
| Copyright © 2000 - 2025 MantisBT Team |