Varun Thacker created SOLR-5873:
-----------------------------------

             Summary: Improve JavaBinCodec's backward compatibility tests
                 Key: SOLR-5873
                 URL: https://issues.apache.org/jira/browse/SOLR-5873
             Project: Solr
          Issue Type: Improvement
            Reporter: Varun Thacker


SOLR-5265 added backward compatibility tests, but it tries to read a 
pre-written binary file to check if there is a break a not. If we add more 
types to JavaBinCodec the test will need to be updated too, which will be error 
prone again.

This is what [~hakeber] proposed on IRC - 

- A test that I was thinking of: we could have a jenkins job that ran a script 
that checked out the previous version of lucene and the the latest
- Then use the solr/cloud-dev scripts to start a cloud cluster
- Index some docs
- Stop a node at a time, replace webapp with the latest in a rolling upgrade 
fashion
- Then we have a full rolling upgrade test

This would be a better approach for back compat tests.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to