GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples
com.example.batch.CreateResourcesIT: remove `@Ignore` from tests
- 主要語言
- Java
- 星號
- 1.9k
- 分支
- 2.9k
- 平均合併
- 3 天 3 小時
- 30 天內合併 PR
- 17
描述
The integration tests for the Batch samples were disabled in #9841.
Reason:
The samples clean up logic requires regular polling of each Job created in the test file. Jobs can take ~2-4 minutes to complete. The polling logic allows for regular retries up until 1200 seconds before erroring out. Unfortunately, not all of the jobs are marked as SUCCEEDED or FAILED in the time provided.
The Batch API has a `CancelJob` method that is available in v1alpha but not v1. Once this method is available to the v1 channel, we should be able to cancel a job after it has been created and then delete it.
貢獻指南
研究方向
首先找出使用 @Ignore 停用的 Batch 範例整合測試,並確認 CancelJob 是否在 v1 頻道中可用。完成的標準是:測試能可靠地取消和刪除已建立的工作,在不逾時的情況下完成,且不再需要被忽略。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- gcp, java
- 領域
- cloud, testing-qa
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100