Skip to content

Commit

Permalink
ftest: Allow tests to work with different SSC versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Nov 21, 2024
1 parent c2c9a33 commit 36a0586
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ class SCSastScanSpec extends FcliBaseSpec {
}

def "extractHighestVersionSensor"() {
def args = "util variable contents sensors -q uuid==#var('sensors').get(#var('sensors').size()-1).uuid --store highestSensor"
def args = "util variable contents sensors -q uuid==#var('sensors').get(#var('sensors').size()-1).uuid --store highestSensor -o table=hostName,scaVersion"
when:
def result = Fcli.run(args)
then:
verifyAll(result.stdout) {
size()>=2
it[0].replace(' ', '').equals("UuidProcessuuidStateWorkerstarttimeWorkerexpirytimeLastseenLastactivityIpaddressHostnameScaversionVmnameAvailableprocessorsTotalphysicalmemoryOsnameOsversionOsarchitectureCloudpooluuidCloudpoolpathCloudpoolnameCloudpooldescriptionCloudpoolchildofglobalpoolCloudpoolisdeletableCloudpoolstatsSensorversionHref")
it[0].replace(' ', '').equals("HostnameScaversion")
}
}

Expand Down

0 comments on commit 36a0586

Please sign in to comment.