reportportal / agent-java-cucumber

Cucumber JVM version [1.0.0; 2.0.0) adapter
Apache License 2.0
26 stars 16 forks source link

issue_188 fixed, root item initialization moved before parent #8

Closed Savostytskyi closed 6 years ago

Savostytskyi commented 6 years ago

issue 188 fix. https://github.com/reportportal/reportportal/issues/188

Error Message: Start time of child ['Wed Jul 19 12:53:49 UTC 2017'] item should be same or later than start time ['Wed Jul 19 12:53:49 UTC 2017'] of the parent item/launch '596f565d2ab79c0007b48b46' Error Type: CHILD_START_TIME_EARLIER_THAN_PARENT

Issue caused by using memoize(Supplier delegate) that retrieve instance during the first call to get(), instance initialization moved before initialization of child item in report.