synapsecns/sanguine

View on GitHub
core/ginhelper/testing.go

Summary

Maintainability
A
35 mins
Test Coverage

Function WaitForStart has 5 return statements (exceeds 4 allowed).
Open

func WaitForStart(parentCtx context.Context, port int) error {
    ctx, cancel := context.WithTimeout(parentCtx, serverStartTimeout)
    defer cancel()

    err := retry.WithBackoff(ctx, func(ctx context.Context) error {
Severity: Major
Found in core/ginhelper/testing.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status