[ https://issues.apache.org/jira/browse/BEAM-3339?focusedWorklogId=83886&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-83886 ]
ASF GitHub Bot logged work on BEAM-3339: ---------------------------------------- Author: ASF GitHub Bot Created on: 23/Mar/18 23:59 Start Date: 23/Mar/18 23:59 Worklog Time Spent: 10m Work Description: tgroh commented on a change in pull request #4788: [BEAM-3339] Mobile gaming automation for Java nightly snapshot on core runners URL: https://github.com/apache/beam/pull/4788#discussion_r176889556 ########## File path: release/src/main/groovy/TestScripts.groovy ########## @@ -95,16 +116,31 @@ class TestScripts { } } - // Check for expected results in stdout of the last command + // Check for expected results in stdout of the last command, if fails, log errors then exit. public void see(String expected) { if (!var.lastText.contains(expected)) { var.startDir.deleteDir() println "Cannot find ${expected} in ${var.lastText}" - _error("Cannot find expected text") + error("Cannot find expected text") } println "Verified $expected" } + public boolean seeOneOf(List<String> expected) { + for (String expect: expected) { + if(var.lastText.contains(expect)) { + println "Verified $expect" + return true + } + } + println "Cannot find ${expected} in text" + return false + } + + public boolean seeExact(String expected) { Review comment: Do we use this anywhere? Even if we do, it looks more like "seeSubstring" ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 83886) > Create post-release testing of the nightly snapshots > ---------------------------------------------------- > > Key: BEAM-3339 > URL: https://issues.apache.org/jira/browse/BEAM-3339 > Project: Beam > Issue Type: Improvement > Components: testing > Reporter: Alan Myrvold > Assignee: Jason Kuster > Priority: Major > Time Spent: 77h > Remaining Estimate: 0h > > The nightly java snapshots in > https://repository.apache.org/content/groups/snapshots/org/apache/beam should > be verified by following the > https://beam.apache.org/get-started/quickstart-java/ instructions, to verify > that the release is usable. -- This message was sent by Atlassian JIRA (v7.6.3#76005)