summaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorPaul "TBBle" Hampson <Paul.Hampson@Pobox.com>2022-03-13 20:00:22 +1100
committerPaul "TBBle" Hampson <Paul.Hampson@Pobox.com>2022-03-27 13:26:47 +1100
commit31e1fec950eb702f433f2893bb8096adb6e7538d (patch)
tree7d8c93511129a4a609e4b091e031dde682303662 /integration
parentcb07afa3cc1cbc7adfab3ac65d92c497a3271b50 (diff)
downloaddocker-31e1fec950eb702f433f2893bb8096adb6e7538d.tar.gz
Suport vpci-class-guid in the non-containerd backend
IDType `vpci-class-guid` is a synonym of `class`. Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
Diffstat (limited to 'integration')
-rw-r--r--integration/container/devices_windows_test.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/integration/container/devices_windows_test.go b/integration/container/devices_windows_test.go
index 759bfc940c..1ab5c6e690 100644
--- a/integration/container/devices_windows_test.go
+++ b/integration/container/devices_windows_test.go
@@ -50,12 +50,10 @@ func TestWindowsDevices(t *testing.T) {
expectedStdout: "/Windows/System32/HostDriverStore/FileRepository",
},
{
- doc: "process/vpci-class-guid://5B45201D-F2F2-4F3B-85BB-30FF1F953599 mounted",
- devices: []string{"vpci-class-guid://5B45201D-F2F2-4F3B-85BB-30FF1F953599"},
- isolation: containertypes.IsolationProcess,
- expectedStartFailure: !testEnv.RuntimeIsWindowsContainerd(),
- expectedStartFailureMessage: "device assignment of type 'vpci-class-guid' is not supported",
- expectedStdout: "/Windows/System32/HostDriverStore/FileRepository",
+ doc: "process/vpci-class-guid://5B45201D-F2F2-4F3B-85BB-30FF1F953599 mounted",
+ devices: []string{"vpci-class-guid://5B45201D-F2F2-4F3B-85BB-30FF1F953599"},
+ isolation: containertypes.IsolationProcess,
+ expectedStdout: "/Windows/System32/HostDriverStore/FileRepository",
},
{
doc: "hyperv/no device mounted",