Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#184
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <[email protected]>
  • Loading branch information
mornyx authored and ti-chi-bot committed Jun 7, 2023
1 parent 3fb498d commit f74e964
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions component/conprof/scrape/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ func TestManager(t *testing.T) {
break
}
}
<<<<<<< HEAD
// TODO(crazycs): remove this after support tiflash
=======
// TODO: remove this after support tiflash
>>>>>>> 0b36375 (conprof: disable profiling tiflash (#184))
require.True(t, list.Target.Component != topology.ComponentTiFlash)
require.True(t, found, fmt.Sprintf("%#v", list))
for _, ts := range list.TsList {
Expand Down Expand Up @@ -131,7 +135,11 @@ func TestManager(t *testing.T) {

// test for GetCurrentScrapeComponents
comp := manager.GetCurrentScrapeComponents()
<<<<<<< HEAD
// // TODO(crazycs): update this after support tiflash
=======
// TODO: update this after support tiflash
>>>>>>> 0b36375 (conprof: disable profiling tiflash (#184))
require.Equal(t, len(comp), len(components)-1)

// test for topology changed.
Expand Down

0 comments on commit f74e964

Please sign in to comment.