diff options
author | cdoern <cbdoer23@g.holycross.edu> | 2022-04-12 22:21:33 -0400 |
---|---|---|
committer | cdoern <cbdoer23@g.holycross.edu> | 2022-04-27 20:12:43 -0400 |
commit | c721acf082a720ea6ccdf6bc4726215754239237 (patch) | |
tree | 21a661db172d728640c29b4e584eb7322c25e921 /pkg/specgen/specgen_test.go | |
parent | 5ac00a7287e4a9e6292f4a6ca5dfa9a02e5ca907 (diff) | |
download | podman-c721acf082a720ea6ccdf6bc4726215754239237.tar.gz podman-c721acf082a720ea6ccdf6bc4726215754239237.tar.bz2 podman-c721acf082a720ea6ccdf6bc4726215754239237.zip |
podman machine starting test
add a test to make sure machines are not running while still starting
in order to do this, I added a parameter to `run()` to delineate whether
or not the command should block or not. The non blocking run allows for tests
to get and use the `machineSession` pointer and check the exit code to see if it has finished.
also fix a bug (created by #13996) that before started, the machines would
always say "LastUp" and "Created" Less than one second ago
Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
Diffstat (limited to 'pkg/specgen/specgen_test.go')
0 files changed, 0 insertions, 0 deletions