From 4bf1d65877e51d278fce779ee792b3d0cf66fee7 Mon Sep 17 00:00:00 2001 From: Gerasimos Maropoulos Date: Tue, 27 Sep 2016 16:56:47 +0300 Subject: [PATCH] Iris has been updated to v4.4.0 . Fix travis plugin_test... Read HISTORY.md --- plugin_test.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugin_test.go b/plugin_test.go index dd70cc53..f05e0589 100644 --- a/plugin_test.go +++ b/plugin_test.go @@ -73,11 +73,12 @@ func ExamplePlugins_Add() { Plugins.Add(myplugin) desc := Plugins.GetDescription(myplugin) fmt.Println(desc) - go Listen(":8080") - if ok := <-Available; ok { - Close() - } + // travis have problems if I do that using + // Listen(":8080") and Close() + Plugins.DoPreListen(Default) + Plugins.DoPostListen(Default) + Plugins.DoPreClose(Default) // Output: // GetName Struct