Skip to content

Commit

Permalink
test: ipam integration tests use grpc client
Browse files Browse the repository at this point in the history
  • Loading branch information
fra98 committed Dec 12, 2024
1 parent 2217833 commit 27d9e56
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 53 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ token

# test generated files
coverage*
*.report

# example kubeconfig generates by examples
liqo_kubeconf*
Expand All @@ -50,6 +51,3 @@ docs/_build
/tmp
/graphviz
/k3s-ansible

# Ginkgo generated files
*.report
2 changes: 1 addition & 1 deletion cmd/ipam/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func run(cmd *cobra.Command, _ []string) error {
// Register IPAM service
ipam.RegisterIPAMServer(server, liqoIPAM)

if err := server.Serve(lis); err != nil {
if err := server.Serve(lis); err != nil { // we do not need to close the listener as Serve will close it when returning
klog.Errorf("failed to serve: %v", err)
return err
}
Expand Down
Loading

0 comments on commit 27d9e56

Please sign in to comment.