zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shralex <...@git.apache.org>
Subject [GitHub] zookeeper pull request #167: commitProcessor does not crash when an unseen c...
Date Sun, 12 Feb 2017 04:28:35 GMT
Github user shralex commented on a diff in the pull request:

    --- Diff: src/java/test/org/apache/zookeeper/server/quorum/CommitProcessorConcurrencyTest.java
    @@ -106,6 +106,7 @@ public void shutdown() {
                     public void notifyStopping(String threadName, int errorCode) {
    +                    Assert.fail("Commit processor crashed " + errorCode);
    --- End diff --
    oh, I didn't see your test, sorry. I think there's a problem with the way you created
the PR. did you run "git commit" twice ? github shows two commits here - see the commits tab.
I'm also new to git, but the way I usually do it is first time the PR is created I run
    > git add -u
    > git commit -m 'JIRA number and description'
    > git push
    then if I want to change something I do:
    > git add -u
    > git amend
    > git push -f
    Now I think you should remove one of the commits from this PR. Please look online how
to do that...

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message