Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/spanner-load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,16 @@ jobs:
with:
name: surefire-test-results
path: '**/surefire-reports/TEST-*.xml'
retention-days: 1
retention-days: 30
- name: Load Test report on GitHub
uses: dorny/test-reporter@v1
if: always()
with:
name: Load Test report on GitHub
path: '**/surefire-reports/TEST-*.xml'
reporter: java-junit
only-summary: 'false'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Cleanup Java Environment
uses: ./.github/actions/cleanup-java-env
observe_load_tests:
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/spanner-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ concurrency:
env:
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade=error

permissions: read-all
permissions: write-all

jobs:
spotless_check:
Expand Down Expand Up @@ -182,7 +182,16 @@ jobs:
with:
name: surefire-test-results
path: '**/surefire-reports/TEST-*.xml'
retention-days: 1
retention-days: 10
- name: Integration Test report on GitHub
uses: dorny/test-reporter@v1
if: always()
with:
name: Integration Test report on GitHub
path: '**/surefire-reports/TEST-*.xml'
reporter: java-junit
only-summary: 'false'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Cleanup Java Environment
uses: ./.github/actions/cleanup-java-env
java_load_tests_templates:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@

ListTimeSeriesRequest request =
ListTimeSeriesRequest.newBuilder()
.setName(projectId)
.setName(ProjectName.of(projectId).toString())

Check warning on line 440 in it/google-cloud-platform/src/main/java/org/apache/beam/it/gcp/monitoring/MonitoringClient.java

View check run for this annotation

Codecov / codecov/patch

it/google-cloud-platform/src/main/java/org/apache/beam/it/gcp/monitoring/MonitoringClient.java#L440

Added line #L440 was not covered by tests
.setFilter(filter)
.setInterval(interval)
.setAggregation(aggregation)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ private Double getAverageOldestUnackedMessageAge(MonitoringClient monitoringClie
TimeInterval interval =
TimeInterval.newBuilder()
.setEndTime(Timestamp.newBuilder().setSeconds(Instant.now().getEpochSecond()))
.setStartTime(Timestamp.newBuilder().setSeconds(Instant.now().getEpochSecond() - 5))
.setStartTime(Timestamp.newBuilder().setSeconds(Instant.now().getEpochSecond() - 20))
.build();

String filterFormat =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ public void getResourceManagerMetrics(Map<String, Double> metrics) {
@After
public void cleanUp() throws IOException {
ResourceManagerUtils.cleanResources(
secretClient,
spannerResourceManager,
pubsubResourceManager,
gcsResourceManager,
Expand Down
Loading