Skip to content
Snippets Groups Projects
Commit 72485442 authored by xg.gao's avatar xg.gao
Browse files

fix typo

parent a23c6d23
No related branches found
No related tags found
No related merge requests found
......@@ -75,14 +75,14 @@ func TestMetadataReport_MetadataReportRetryWithLimit(t *testing.T) {
func mockNewMetadataReport(t *testing.T) *MetadataReport {
syncReportKey := "false"
retryPeroidKey := "3"
retryPeriodKey := "3"
retryTimesKey := "100"
cycleReportKey := "true"
url, err := common.NewURL(fmt.Sprintf(
"test://127.0.0.1:20000/?"+constant.SYNC_REPORT_KEY+"=%v&"+constant.RETRY_PERIOD_KEY+"=%v&"+
constant.RETRY_TIMES_KEY+"=%v&"+constant.CYCLE_REPORT_KEY+"=%v",
syncReportKey, retryPeroidKey, retryTimesKey, cycleReportKey))
syncReportKey, retryPeriodKey, retryTimesKey, cycleReportKey))
assert.NoError(t, err)
instance.SetMetadataReportUrl(url)
mtr, err := NewMetadataReport()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment