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

[GOBBLIN-328]Fix GobblinClusterKillTest failure. Path mismatch #2180

Closed
wants to merge 1 commit into from

Conversation

HappyRay
Copy link
Contributor

@HappyRay HappyRay commented Dec 1, 2017

Issue:
org.apache.gobblin.cluster.GobblinClusterKillTest failed because it looks at the wrong output path for the output files.

Cause:
It appears that the paths have changed.

Fix:
Update the path to match.

Also:

  • Instead of disabling the tests. Move the tests to the group
    disabledOnTravis to continue to disable it on Travis until we have
    higher confidence with these tests.
    This makes it easier to run these tests locally.

  • Run the setup and teardown methods per method. This adds about 10s
    overhead per method.
    The worker kill test failed without this change when running with other
    tests. I suspect it is related to some state management issues.
    This change makes tests more self contained.

  • Some minor code quality improvements.

Issue:
org.apache.gobblin.cluster.GobblinClusterKillTest failed because it looks at the wrong output path for the output files.

Cause:
It appears that the paths have changed.

Fix:
Update the path to match.

Also:
* Instead of disabling the tests. Move the tests to the group
disabledOnTravis to continue to disable it on Travis until we have
higher confidence with these tests.
This makes it easier to run these tests locally.

* Run the setup and teardown methods per method. This adds about 10s
overhead per method.
The worker kill test failed without this change when running with other
tests. I suspect it is related to some state management issues.
 This change makes tests more self contained.

* Some minor code quality improvements.
Copy link
Contributor

@htran1 htran1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1.

@asfgit asfgit closed this in 4a8f7ba Dec 1, 2017
@HappyRay HappyRay deleted the fix-cluster-kill-tests branch December 1, 2017 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants