Skip to content

Commit

Permalink
Merge pull request #474 from flatcar/t-lo/add-docker-devicemapper-test
Browse files Browse the repository at this point in the history
tests/docker: add devicemapper storage test
  • Loading branch information
t-lo authored Nov 1, 2023
2 parents 9eef5e9 + 686a4eb commit b8b8303
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions kola/tests/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,29 @@ systemd:
Distros: []string{"cl"},
})

register.Register(&register.Test{
Run: func(c cluster.TestCluster) { testDockerInfo("devicemapper", c) },
ClusterSize: 1,
Name: "docker.devicemapper-storage",
// This test is normally not related to the cloud environment
Platforms: []string{"qemu", "qemu-unpriv"},
// Added explicit devicemapper driver selection to override overlay2 default
UserData: conf.Butane(`
variant: flatcar
version: 1.0.0
storage:
files:
- path: /etc/docker/daemon.json
contents:
inline: |
{
"storage-driver": "devicemapper"
}
`),
Distros: []string{"cl"},
})

register.Register(&register.Test{
// For a while we shipped /usr/lib/coreos/dockerd as the execstart of the
// docker systemd unit.
Expand Down

0 comments on commit b8b8303

Please sign in to comment.