We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CouchbaseRepositoryQueryIntegrationTests.testExpiration:759 expected: not equal but was: <0>a
It's because Options are now discarded on save()
public void testExpiration() { Airport airport = new Airport("1", "iata21", "icao21"); airportRepository.withOptions(InsertOptions.insertOptions().expiry(Duration.ofSeconds(10))).save(airport); Airport foundAirport = airportRepository.findByIata(airport.getIata()); assertNotEquals(0, foundAirport.getExpiration()); airportRepository.delete(airport); }
The text was updated successfully, but these errors were encountered:
use template.withOptions(...).insertById(...).one(airport) instead.
Sorry, something went wrong.
mikereiche
No branches or pull requests
CouchbaseRepositoryQueryIntegrationTests.testExpiration:759 expected: not equal but was: <0>a
It's because Options are now discarded on save()
The text was updated successfully, but these errors were encountered: