Add coverage to proxy for integration tests.

This commit is contained in:
Tom Wilkie committed 2015-07-29 12:06:29 +00:00
1 parent 77358140d9
commit 6fe69590c4
6 files changed
+28 -12

No files matched your search

+2 -1
View File
@@ -82,5 +82,6 @@ func main() {
Log.Fatalf("Could not start proxy: %s", err)
}
p.ListenAndServe()
go p.ListenAndServe()
SignalHandlerLoop()
}
+12
View File
@@ -0,0 +1,12 @@
package main
import (
"testing"
weavetest "github.com/weaveworks/weave/testing"
)
func TestMain(t *testing.T) {
weavetest.TrimTestArgs()
main()
}