tests: add comments and logs
[src/xds/xds-server.git] / test / config_test.go
index ad6ea1b..da56188 100644 (file)
@@ -42,6 +42,7 @@ func CheckIP(ipconfig string) bool {
 func TestConfig(t *testing.T) {
        var cfg xsapiv1.APIConfig
        assert.Nil(t, HTTPCli.Get("/config", &cfg))
+       t.Logf("Config is %v", cfg)
 
        re := regexp.MustCompile("^[0-9a-z]+-[0-9a-z]+-[0-9a-z]+-[0-9a-z]+-[0-9a-z]+$")
        assert.True(t, re.MatchString(cfg.ServerUID)) //ID