Skip to content

Fix some flaky tests

Axel von Bertoldi requested to merge avonbertoldi/fix-flaky-tests into main

At least one of these tests fixed in this MR would occasionally fail with:

FATAL: [core] grpc: Server.RegisterService after Server.Serve for "proto.StepRunner".

This was because we sometimes started serving the gRPC service before we registered it (because server.Server() is called in a goroutine). Always register a gRPC service before attempting to serve it!

Also refactor some test steuc code to maintain consistency.

Closes Unit tests sometimes fail due to core proto fai... (#115 - closed)

Edited by Axel von Bertoldi

Merge request reports

Loading