Skip to content

Commit

Permalink
add ns and name in log
Browse files Browse the repository at this point in the history
Signed-off-by: husharp <[email protected]>
  • Loading branch information
HuSharp committed Mar 5, 2024
1 parent ef49aac commit 55f9ee4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pkg/fixture/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ func GetTidbCluster(ns, name, version string) *v1alpha1.TidbCluster {

random := rand.Intn(2)
if random != 0 && version == utilimage.PDMSImage {
log.Logf("[GetTidbCluster] tidbcluster's pd mode is micro-service in this situation, version: %s", version)
log.Logf("[GetTidbCluster] tidbcluster's pd mode is micro-service in this situation, "+
"version: %s, tc name: %s, namespace: %s", version, name, ns)
// 50% random in pdms mode
tc = AddPDMSForTidbCluster(tc)
}
Expand Down

0 comments on commit 55f9ee4

Please sign in to comment.