[
https://issues.apache.org/jira/browse/KNOX-2057?focusedWorklogId=328989&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-328989
]
ASF GitHub Bot logged work on KNOX-2057:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Oct/19 06:46
Start Date: 16/Oct/19 06:46
Worklog Time Spent: 10m
Work Description: smolnar82 commented on pull request #165: KNOX-2057 -
Using unique table IDs through different test cases even if they are in
different test classes (JVM is shared in during parallel execution)
URL: https://github.com/apache/knox/pull/165
## What changes were proposed in this pull request?
The Maven `surefire-plugin` reuse JVM forks by default which might end-up
overwriting the KnoxShellTable call history with undesired value(s) during
parallel execution. To avoid this we need to make sure to use unique table IDs
in our tests.
## How was this patch tested?
Ran JUnit tests locally (note: I did it previously many times but I couldn't
reproduce this issue).
Executed the same tests as described in #162 .
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 328989)
Time Spent: 2.5h (was: 2h 20m)
> KnoxShellTableCallHistoryTest failure
> -------------------------------------
>
> Key: KNOX-2057
> URL: https://issues.apache.org/jira/browse/KNOX-2057
> Project: Apache Knox
> Issue Type: Test
> Components: Tests
> Affects Versions: 1.4.0
> Reporter: Kevin Risden
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> New test from KNOX-2023 failed twice on Apache Jenkins server
> https://builds.apache.org/job/Knox-master-daily/8457/org.apache.knox$gateway-shell/testReport/junit/org.apache.knox.gateway.shell.table/KnoxShellTableCallHistoryTest/shouldReturnCallHistoryInProperOrder/
> https://builds.apache.org/job/Knox-master-daily/8458/org.apache.knox$gateway-shell/testReport/org.apache.knox.gateway.shell.table/KnoxShellTableCallHistoryTest/shouldReturnCallHistoryInProperOrder/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)