Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portal updates #399

Merged
merged 10 commits into from
Oct 24, 2019
Merged

Portal updates #399

merged 10 commits into from
Oct 24, 2019

Conversation

i-ony
Copy link
Contributor

@i-ony i-ony commented Oct 17, 2019

-Adds mocks to HistoryFileMoverTest
-Refactors HistoryFileMover

i-ony and others added 10 commits October 4, 2019 13:47
When an application is killed by the user, there is no opportunity for a graceful shutdown and those files are never renamed from .jhist.inprogress to the final application status such as  -FAILED.jhist or -SUCCEEDED.jhist causing those applications to be interpreted by TonY as currently RUNNING on TonY portal even though they have been terminated.  This fix renames those files to -KILLED.jhist, correctly identifying the final status of those killed applications.
This fix adds a parameter to the data table to maintain the default ordering of the TonY jobs and increases the default number of records from 10 to 25.
Tests not passing due to issues with yarn environment.
Refactored code to eliminate creating separate yarn client
object in test class.
This update adds a yarnclient mock to the HistoryFileMoverTest
in order to bypass the yarn requirements of the main
HistoryFileMover class. This update also adjusts the yarn client
initializetion of the main class to once when the mover starts
and not each time the killedAppIds function is called.
@oliverhu oliverhu merged commit bf51a85 into master Oct 24, 2019
i-ony added a commit that referenced this pull request Oct 25, 2019
Updates project version to 0.3.23
i-ony added a commit that referenced this pull request Oct 25, 2019
Updates project version to 0.3.23
i-ony added a commit that referenced this pull request Oct 25, 2019
Updates project version to 0.3.23
i-ony added a commit that referenced this pull request Oct 25, 2019
Updates project version to 0.3.23
oliverhu pushed a commit that referenced this pull request Oct 25, 2019
Updates project version to 0.3.23
@i-ony i-ony deleted the portal_updates branch October 26, 2019 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants