Fix Docker VM tests for container status detection on node creation

The create() method now calls _get_container_state() after creating the
container to detect if the container is already running. Mock this method
in all test_create_* tests so the new code path doesn't fail with
KeyError: 'State' when the Docker.query mock response lacks a State field.
This commit is contained in:
YueGuobin 2026-06-03 22:17:43 +08:00
parent 9712e9328a
commit 2adc09604c
No known key found for this signature in database

File diff suppressed because it is too large Load Diff