You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this issue trying to write tests using the new "exploration queries" feature from 5.3. But, because the version of ravendb-server that is bundled here doesn't support that feature, my tests fail.
Instead of waiting for a newer version of this library, I think it would be nice if I could just point it at a different ravendb-server.zip file to get my tests running.
The text was updated successfully, but these errors were encountered:
Provider field isn't public in ServerOptions so as workaround you can use reflection:
Field providerField = serverOptions.getClass().getDeclaredField("provider");
providerField.setAccessible(true);
providerField.set(serverOptions, new MyCustomRavenDBProvider());
I ran into this issue trying to write tests using the new "exploration queries" feature from 5.3. But, because the version of ravendb-server that is bundled here doesn't support that feature, my tests fail.
Instead of waiting for a newer version of this library, I think it would be nice if I could just point it at a different ravendb-server.zip file to get my tests running.
The text was updated successfully, but these errors were encountered: