KEMBAR78
ci: enable ITQueryCountTest in CI, since the project is whitelisted for COUNT by dconeybe · Pull Request #1040 · googleapis/java-firestore · GitHub
Skip to content

Conversation

@dconeybe
Copy link
Contributor

No description provided.

@dconeybe dconeybe self-assigned this Sep 22, 2022
@product-auto-label product-auto-label bot added the api: firestore Issues related to the googleapis/java-firestore API. label Sep 22, 2022
@dconeybe dconeybe changed the title ci: enable ITQueryCountTest in CI, since the project is whitelists for COUNT ci: enable ITQueryCountTest in CI, since the project is whitelisted for COUNT Sep 22, 2022
@dconeybe
Copy link
Contributor Author

dconeybe commented Sep 22, 2022

aggregateQueryInATransactionShouldLockTheCountedDocuments is failing on kokoro:

java.lang.AssertionError: expected java.util.concurrent.ExecutionException to be thrown, but nothing was thrown
	at com.google.cloud.firestore.ITQueryCountTest.aggregateQueryInATransactionShouldLockTheCountedDocuments(ITQueryCountTest.java:238)

I need to check if this is a bug in the backend or a faulty test. This test passes against the Firestore emulator.

Here is the line in the test that is failing:

executionException = assertThrows(ExecutionException.class, documentSetTask::get);

I've opened b/248152832 to investigate.

@dconeybe dconeybe marked this pull request as ready for review September 22, 2022 04:11
@dconeybe dconeybe requested a review from a team as a code owner September 22, 2022 04:11
@dconeybe
Copy link
Contributor Author

I've just disabled aggregateQueryInATransactionShouldLockTheCountedDocuments for now, so at least the rest of the tests can be run. I've opened #1043 to investigate and re-enable it.

@ehsannas ehsannas added the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 23, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 23, 2022
@dconeybe dconeybe merged commit e5ccf88 into main Sep 23, 2022
@dconeybe dconeybe deleted the dconeybe/EnableITQueryCountTestInCI branch September 23, 2022 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the googleapis/java-firestore API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants