-
Notifications
You must be signed in to change notification settings - Fork 120
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
corfuDBTest.sh script doesn't work for CorfuShell #3
Comments
CorfuShell isn't there anymore, but I'll remove the < /dev/null in case anyone else needs to use stdin in a test. |
slfritchie
pushed a commit
to slfritchie/CorfuDB
that referenced
this issue
Oct 24, 2016
TODO: Fix unit tests that are broken by this change to state mutation. The error case: C3. [[{init,{state,false,"sfritchie-m01:8000", [cmdlet0,cmdlet1,cmdlet2,cmdlet3,cmdlet4,cmdlet5,cmdlet6, cmdlet7,cmdlet8,cmdlet9], -1,[],[],0}}, {set,{var,1}, {call,layout_qc,reset, [{cmdlet9,'corfu-8000@sfritchie-m01'}, "sfritchie-m01:8000"]}}, {set,{var,3}, {call,layout_qc,prepare, [{cmdlet4,'corfu-8000@sfritchie-m01'}, "sfritchie-m01:8000",0,95]}}, {set,{var,8}, {call,layout_qc,commit, [{cmdlet3,'corfu-8000@sfritchie-m01'}, "sfritchie-m01:8000",6,95, {layout,22,[],[],[]}]}}, {set,{var,9}, {call,layout_qc,prepare, [{cmdlet0,'corfu-8000@sfritchie-m01'}, "sfritchie-m01:8000",6,70]}}]] The output on failure shows step CorfuDB#9's prepare() of rank 70 failing: the server is erroneously remembering step CorfuDB#3's prepare() rank. (qc@sfritchie-m01)3> proper:check(layout_qc:prop(), C3). Failed: The input fails the test. H: [{{state,false,"sfritchie-m01:8000", [cmdlet0,cmdlet1,cmdlet2,cmdlet3,cmdlet4,cmdlet5,cmdlet6,cmdlet7, cmdlet8,cmdlet9], -1,[],[],0}, ["OK"]}, {{state,true,"sfritchie-m01:8000", [cmdlet0,cmdlet1,cmdlet2,cmdlet3,cmdlet4,cmdlet5,cmdlet6,cmdlet7, cmdlet8,cmdlet9], -1,[],[],0}, ["OK"]}, {{state,true,"sfritchie-m01:8000", [cmdlet0,cmdlet1,cmdlet2,cmdlet3,cmdlet4,cmdlet5,cmdlet6,cmdlet7, cmdlet8,cmdlet9], 95,[],[],0}, ["OK"]}, {{state,true,"sfritchie-m01:8000", [cmdlet0,cmdlet1,cmdlet2,cmdlet3,cmdlet4,cmdlet5,cmdlet6,cmdlet7, cmdlet8,cmdlet9], -1,[], {layout,22,[],[],[]}, 0}, ["ERROR","Exception during prepare", "org.corfudb.runtime.exceptions.OutrankedException: Higher rank 95 encountered, layout = null", "newRank: 95","layout: "]}] S: {state,true,"sfritchie-m01:8000", [cmdlet0,cmdlet1,cmdlet2,cmdlet3,cmdlet4,cmdlet5,cmdlet6,cmdlet7, cmdlet8,cmdlet9], -1,[], {layout,22,[],[],[]}, 0} R: {postcondition,false} false
This was referenced Dec 6, 2017
Merged
xnull
added a commit
that referenced
this issue
Oct 9, 2018
* Fixed a type in README.md * Creating testing framework Co-authored-by: xnull <xrw.null@gmail.com> Co-authored-by: StrikingThirteen <764389+StrikingThirteen@users.noreply.github.com> * Creating testing framework Co-authored-by: xnull <xrw.null@gmail.com> Co-authored-by: StrikingThirteen <764389+StrikingThirteen@users.noreply.github.com> * Fix docker command execution * Creating testing framework: fix DockerCorfuServer disconnect Co-authored-by: xnull <xrw.null@gmail.com> Co-authored-by: StrikingThirteen <764389+StrikingThirteen@users.noreply.github.com> Wenbin Zhu <zwbhsefz@gmail.com> Miao Cheng <mcheng@vmware.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should remove the < /dev/null on the last line corfuDBTest.sh for the CorfuShell test, because CorfuShell reads input from System.in. Otherwise ./bin/corfuDBTest.sh CorfuShell currently doesn't work.
The text was updated successfully, but these errors were encountered: