summaryrefslogtreecommitdiff
path: root/test/apiv2/20-containers.at
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-10 08:01:54 -0400
committerGitHub <noreply@github.com>2021-05-10 08:01:54 -0400
commit821aea79a1a1b0c5b11c5382e2f921f80dd4b85c (patch)
tree5b2c16fa151811ba0007c0a711448c653e4785c7 /test/apiv2/20-containers.at
parent54bed1025d07bc5f77ee4e1e7f942157e211ec0a (diff)
parentdd98e703023225eacae9f3cf93ae92026686df5f (diff)
downloadpodman-821aea79a1a1b0c5b11c5382e2f921f80dd4b85c.tar.gz
podman-821aea79a1a1b0c5b11c5382e2f921f80dd4b85c.tar.bz2
podman-821aea79a1a1b0c5b11c5382e2f921f80dd4b85c.zip
Merge pull request #10286 from matejvasek/use-utc-ts
fix: use UTC for `containers/{name}/json` endpoint
Diffstat (limited to 'test/apiv2/20-containers.at')
-rw-r--r--test/apiv2/20-containers.at6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at
index 23dd374d6..a81210855 100644
--- a/test/apiv2/20-containers.at
+++ b/test/apiv2/20-containers.at
@@ -161,6 +161,12 @@ t GET libpod/containers/myctr/json 200 \
.OCIConfigPath~.*config\.json \
.GraphDriver.Data.MergedDir~.*merged
+# Test TS are in UTC
+t GET containers/myctr/json 200 \
+ .Created~.*Z \
+ .State.StartedAt~.*Z \
+ .State.FinishedAt~.*Z
+
t DELETE images/localhost/newrepo:latest?force=true 200
t DELETE images/localhost/newrepo:v1?force=true 200
t DELETE images/localhost/newrepo:v2?force=true 200