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

keys_fsm_eqc intermittently fails #899

Merged

Conversation

reiddraper
Copy link
Contributor

Sha: aa0ae89

So far I've only been able to make this fail by running the entire suite via make test. I have not yet been able to make it fail by only running the suite, ./rebar eunit suites=keys_fsm_eqc skip_deps=true. It only fails some of the runs. Here is the counterexample:

module 'keys_fsm_eqc'
  keys_fsm_eqc:49: eqc_test_...Failed! Reason:
{'EXIT',{{badmatch,{error,precommit_fail}},
         [{keys_fsm_eqc,'-prop_basic_listkeys/0-lc$^1/1-1-',3,
                        [{file,"test/keys_fsm_eqc.erl"},{line,76}]},
          {keys_fsm_eqc,'-prop_basic_listkeys/0-fun-3-',6,
                        [{file,"test/keys_fsm_eqc.erl"},{line,76}]}]}}
After 1 tests.
{4115210543,<<"N">>,none,1,546,36852}
Shrinking...(3 times)
Reason:
{'EXIT',{{badmatch,{error,precommit_fail}},
         [{keys_fsm_eqc,'-prop_basic_listkeys/0-lc$^1/1-1-',3,
                        [{file,"test/keys_fsm_eqc.erl"},{line,76}]},
          {keys_fsm_eqc,'-prop_basic_listkeys/0-fun-3-',6,
                        [{file,"test/keys_fsm_eqc.erl"},{line,76}]}]}}
{4115210543,<<" ">>,none,1,10,10000}
*failed*
in function keys_fsm_eqc:'-eqc_test_/0-fun-3-'/1 (test/keys_fsm_eqc.erl, line 49)
**error:{assertEqual_failed,[{module,keys_fsm_eqc},
                     {line,49},
                     {expression,"quickcheck ( numtests ( ? TEST_ITERATIONS , ? QC_OUT ( prop_basic_listkeys ( ) ) ) )"},
                     {expected,true},
                     {value,false}]}

@reiddraper reiddraper added this to the 2.0-RC milestone Apr 10, 2014
@kellymclaughlin
Copy link
Contributor

Maybe it's time to finally put a nail in this test. First we need to add some testing to the riak_test that is currently lacking and then I think we can remove this test.

@kellymclaughlin
Copy link
Contributor

#649 has discussion about removal and highlights some things to consider adding to the riak_test prior to removing this, but perhaps we can make time for that now.

@kellymclaughlin
Copy link
Contributor

Engel already had a placeholder issue for this. I've moved it to the 2.0RC milestone: basho/riak_test#372

The keys_fsm_eqc has been intermittently failing for some time. The test
seems to only fail while run under the entire suite. This, along with
discussion in #649 and basho/riak_test#372, it has been determined to
remove this test and write a proper integration test in riak_test.
basho/riak_test#372 will track the progress of this riak_test.

Fixes #899
@reiddraper
Copy link
Contributor Author

I've turned this issue into a PR, with the test removed.

@kellymclaughlin
Copy link
Contributor

I'm actively working on augmenting the riak_test to cover the missing areas highlighted in #649 so 👍 to merge.

reiddraper added a commit that referenced this pull request Apr 11, 2014
…ng-keys_fsm_eqc-test

keys_fsm_eqc intermittently fails
@reiddraper reiddraper merged commit 219c55b into develop Apr 11, 2014
@reiddraper reiddraper deleted the bugfix/remove-intermittently-failing-keys_fsm_eqc-test branch April 11, 2014 16:52
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