googleapis / googleapis/google-cloud-java

[java-spanner] SpannerImplTest.testSpannerClosed test needs to detect if Spanner emulator is running

Đang mở
#12,238 0 bình luận 0 reaction 1 người được giao Được @rahul2393 nhận Xem trên GitHub
api: spanner
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

Coming here from my PR https://github.com/googleapis/java-spanner/pull/3900 in which I've seen these consistent failures

```shell
Error: com.google.cloud.spanner.SpannerImplTest.testSpannerClosed -- Time elapsed: 0.024 s <<< ERROR!
```

The test fails for both the emulator tests and multiplexed sessions too. We need guards to skip this test if an emulator isn't running or if it isn't, it needs to be running correctly.

Please fix this so that it doesn't cause CI to red and mislead contributors into thinking their code is wrong.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.