Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

ref(pkg/envoy/eds/*): Remove redundant code from EDS and update test #2524

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

snehachhabria
Copy link
Contributor

@snehachhabria snehachhabria commented Feb 12, 2021

Description:

This PR removes the dependency on services from EDS and updates the tests. Further it converts the test from ginkgo to use go testing framework

Signed-off-by: Sneha Chhabria snchh@microsoft.com

Part of #1658

Affected area:

  • New Functionality [ ]
  • Documentation [ ]
  • Install [ ]
  • Control Plane [X]
  • CLI Tool [ ]
  • Certificate Management [ ]
  • Networking [ ]
  • Metrics [ ]
  • SMI Policy [ ]
  • Security [ ]
  • Tests [X]
  • CI System [ ]
  • Performance [ ]
  • Other [ ]

Please answer the following questions with yes/no.

  • Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution? no

This PR removes the dependency on services from EDS and updates the tests. Further it converts the tes from ginkgo to use go testing framework

Signed-off-by: Sneha Chhabria <snchh@microsoft.com>
@snehachhabria snehachhabria requested a review from a team as a code owner February 12, 2021 00:01
})
})
actual, err := NewResponse(meshCatalog, proxy, nil, mockConfigurator, nil)
assert.Empty(err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
assert.Empty(err)
assert.Nil(err)

@snehachhabria snehachhabria merged commit 5bcaae1 into openservicemesh:main Feb 12, 2021
@snehachhabria snehachhabria deleted the edsCleanup branch February 17, 2021 20:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants