GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples

com.example.batch.CreateResourcesIT: remove `@Ignore` from tests

オープン
#9,855 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: batch priority: p2 samples triage me type: bug
主要言語
Java
スター
1.9k
フォーク
2.9k
平均マージ
3日 3時間
マージ済み PR(30日)
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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。