mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-29 13:49:28 +08:00
16 lines
162 B
Go
16 lines
162 B
Go
package grpc_test
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
svc = newService()
|
|
startGRPCServer(svc, port)
|
|
|
|
code := m.Run()
|
|
|
|
os.Exit(code)
|
|
}
|