I have a test suite, which assumes a certain fixture dataset is loaded into
MySQL and ElasticSearch prior to running. Loading this data is only done
when the fixture data changes, which is quite infrequent. When running the
tests, changes to MySQL are rolled back using transactions. Changes to ES,
I currently don't have a good way to handle, as I can't simply clear out
the test index after every test case. Instead the tests need to take this
Is there a clever way to discard changes made to ES during a test case? I
have this (possibly terrible) idea of disabling translog flushing and then
somehow making ES drop the translog afterwards, but I have no idea whether
that's feasible at all.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.