Skip to content

Commit 4388082

Browse files
Print web link
PollMatrices 0m 0s matrix-1h3w820q84crs NexusLowRes-28 VALIDATING 0m 0s matrix-1h3w820q84crs NexusLowRes-28 VALIDATING https://console.firebase.google.com/project/flank-open-source/testlab/histories/bh.bf178d418be9d33e/matrices/6081298694548031160 0m 5s matrix-1h3w820q84crs NexusLowRes-28 PENDING
1 parent f114c83 commit 4388082

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

test_runner/src/main/kotlin/ftl/run/common/PollMatrices.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,15 @@ private suspend fun pollMatrix(matrixId: String, stopwatch: StopWatch, args: IAr
3636
var refreshedMatrix = GcTestMatrix.refresh(matrixId, args.project)
3737
val watch = StopWatchMatrix(stopwatch, matrixId)
3838
val runningDevices = RunningDevices(stopwatch, refreshedMatrix.testExecutions)
39+
var printWebLink = true
3940

4041
while (true) {
42+
val webLink = refreshedMatrix.webLink()
43+
if (printWebLink && webLink.isNotBlank()) {
44+
printWebLink = false
45+
println(webLink)
46+
}
47+
4148
if (matrices.map[matrixId]?.update(refreshedMatrix) == true) updateMatrixFile(
4249
matrices,
4350
args

0 commit comments

Comments
 (0)