Skip to content

Commit

Permalink
Add B to regex
Browse files Browse the repository at this point in the history
  • Loading branch information
gururajsh committed Mar 4, 2024
1 parent c9dff1a commit f4bb282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/helpers/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func WaitForAppMemoryToTakeEffect(appName string, processIndex int, instanceInde
Eventually(session).Should(Exit(0))
appTable := ParseV3AppProcessTable(session.Out.Contents())
return appTable.Processes[processIndex].Instances[instanceIndex].Memory
}).Should(MatchRegexp(fmt.Sprintf(`\d+(\.\d+)?[KMG]? of %s`, expectedMemory)))
}).Should(MatchRegexp(fmt.Sprintf(`\d+(\.\d+)?[BKMG]? of %s`, expectedMemory)))
}

func WaitForAppDiskToTakeEffect(appName string, processIndex int, instanceIndex int, shouldRestartFirst bool, expectedDisk string) {
Expand Down

0 comments on commit f4bb282

Please sign in to comment.