Skip to content
Snippets Groups Projects

Resolve "Implement integration tests for applications"

Merged Fabian Seidl requested to merge 347-implement-integration-tests-for-applications into master
3 files
+ 0
40
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -6,7 +6,6 @@ import (
"os/signal"
"strings"
"syscall"
"time"
"code.fbi.h-da.de/danet/gosdn/application-framework/event"
"code.fbi.h-da.de/danet/gosdn/application-framework/registration"
@@ -56,7 +55,6 @@ func NewApplication(ctx context.Context, grpcClientConn *grpc.ClientConn, contro
func (a *Application) Run(eventTypeCallbackTuples []event.TypeToCallbackTuple) {
signal.Notify(a.stopChannel, os.Interrupt, syscall.SIGTERM)
time.Sleep(5 * time.Second)
a.eventService.SubscribeToEventType(eventTypeCallbackTuples)
a.eventService.SetupEventReciever(a.stopChannel)
Loading