mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
runtime: Remove outdated TestStoreContainer
Due to #2332 being merged after running tests for #2604, and the latter being merged now, a test for the now removed `storeContainer` was added. Remove it. Fixes: #2652 Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
parent
7bf96d2457
commit
9353cd77fd
@ -689,18 +689,3 @@ func TestConfigValid(t *testing.T) {
|
|||||||
result = config.valid()
|
result = config.valid()
|
||||||
assert.True(result)
|
assert.True(result)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestStoreContainer(t *testing.T) {
|
|
||||||
hConfig := newHypervisorConfig(nil, nil)
|
|
||||||
sandbox, err := testCreateSandbox(t, testSandboxID, MockHypervisor, hConfig, NetworkConfig{}, nil, nil)
|
|
||||||
assert.NoError(t, err)
|
|
||||||
defer cleanUp()
|
|
||||||
|
|
||||||
container := &Container{
|
|
||||||
sandbox: sandbox,
|
|
||||||
}
|
|
||||||
|
|
||||||
err = container.storeContainer()
|
|
||||||
assert.Nil(t, err, "store container should succeed")
|
|
||||||
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user