You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by galen-pivotal <gi...@git.apache.org> on 2016/12/12 19:00:03 UTC

[GitHub] geode issue #306: [GEODE-2191] Test randomized string serialization/deserial...

Github user galen-pivotal commented on the issue:

    https://github.com/apache/geode/pull/306
  
    @kirklund I disagree. We expect string serialization to work reliably on *all* inputs, and since we can't test all of them, we may as well test a bunch picked at random. If we fail, it's because of a corner case we haven't thought of. I would rather catch it randomly in testing than when a customer wants to store strings we hadn't anticipated. The seed is captured and printed so that we can reproduce the failure.
    
    There are cases where random input could show deficiencies in our test or testing environment rather than in the code under test; I don't think this is one of those.


---
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.
---