File: app_test.go

package info (click to toggle)
golang-github-rluisr-mysqlrouter-go 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 264 kB
  • sloc: sh: 215; javascript: 15; makefile: 11
file content (15 lines) | stat: -rw-r--r-- 258 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package mysqlrouter

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestClient_GetRouterStatus(t *testing.T) {
	setupWithoutTLS()

	routerStatus, err := client.GetRouterStatus()
	assert.NoError(t, err)
	assert.NotEmpty(t, routerStatus)
}