otterize / network-mapper

Map Kubernetes traffic: in-cluster, to the Internet, and to AWS IAM and export as text, intents, or an image
Apache License 2.0
612 stars 23 forks source link

Added tests for GQL endpoints of the mapper #14

Closed amit7itz closed 2 years ago

amit7itz commented 2 years ago

Description

Added tests for GQL endpoints of the mapper. Also, did some changes to the TestBaseSuite. For example, turns out that the KubeFinder should be initialized before the manager starts, otherwise there's a race condition that makes the tests fail sometimes.

Link to Dev Task

https://www.notion.so/otterize/Network-Mapper-Add-tests-for-GraphQL-endpoints-of-Mapper-f5290c555bb140ee8df5ec129e5856e0