mirror of
https://github.com/caprover/caprover
synced 2026-08-23 07:56:28 +00:00
Remove network metadata preservation test
This commit is contained in:
@@ -116,37 +116,6 @@ describe('service and volume naming migration', () => {
|
||||
])
|
||||
})
|
||||
|
||||
test('preserves existing aliases when rebuilding network attachments', () => {
|
||||
expect(
|
||||
getServiceNetworkAttachments(
|
||||
['network-a', 'network-b', 'network-c'],
|
||||
undefined,
|
||||
[
|
||||
{
|
||||
Target: 'network-a',
|
||||
Aliases: ['alias-a'],
|
||||
},
|
||||
{
|
||||
Target: 'network-b',
|
||||
Aliases: ['alias-b'],
|
||||
},
|
||||
]
|
||||
)
|
||||
).toEqual([
|
||||
{
|
||||
Target: 'network-a',
|
||||
Aliases: ['alias-a'],
|
||||
},
|
||||
{
|
||||
Target: 'network-b',
|
||||
Aliases: ['alias-b'],
|
||||
},
|
||||
{
|
||||
Target: 'network-c',
|
||||
},
|
||||
])
|
||||
})
|
||||
|
||||
test('does not add a redundant DNS alias to legacy apps', () => {
|
||||
const alias = getLegacyServiceDnsAlias(
|
||||
'srv-captain--paperless-db',
|
||||
|
||||
Reference in New Issue
Block a user