googleapis / googleapis/google-cloud-java

[java-firestore] firestore.it.ITQueryWatchTest: nonEmptyResults_modifiedDocument_REMOVED failed

未关闭
#13,125 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: firestore flakybot: flaky flakybot: issue priority: p2 type: bug
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
157

描述

Note: googleapis/java-firestore#1010 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.

----

commit: 25edee4fca0994aea96867f2a63365238d617b36
buildURL: [Build Status](https://source.cloud.google.com/results/invocations/733c716b-fc70-4356-bf47-62fdc8c284ed), [Sponge](http://sponge2/733c716b-fc70-4356-bf47-62fdc8c284ed)
status: failed
Test output

events[

event{error=null,value={documents[{path=java-nonEmptyResults_modifiedDocument_REMOVED-Y06F1dorBSYSTSCT7ZYg/doc,data={foo=bar}}],documentChanges[{path=java-nonEmptyResults_modifiedDocument_REMOVED-Y06F1dorBSYSTSCT7ZYg/doc,data={foo=bar}}]}},
]
value of : size()
expected to be in range: [2..2]
but was : 1
at com.google.cloud.firestore.it.ITQueryWatchTest$QuerySnapshotEventListener$ListenerAssertions.eventCountIsAnyOf(ITQueryWatchTest.java:809)
at com.google.cloud.firestore.it.ITQueryWatchTest.nonEmptyResults_modifiedDocument_REMOVED(ITQueryWatchTest.java:413)

贡献指南

打开贡献指南

调研方向

从 ITQueryWatchTest.java 开始,重点查看第 413 行的 nonEmptyResults_modifiedDocument_REMOVED 和第 809 行的 eventCountIsAnyOf。查看失败构建的输出以及相关的 googleapis/java-firestore#1010 issue,以了解为什么只观察到了一个事件。理解测试行为并使集成测试可靠通过后,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
databases, testing
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。