@@ -539,7 +539,6 @@ ParentRecord::ProcessParents(char *val, bool isPrimary)
539539 this ->parents [i].name = this ->parents [i].hostname ;
540540 this ->parents [i].available = true ;
541541 this ->parents [i].weight = weight;
542- this ->parents [i].retriers .clear ();
543542 if (tmp3) {
544543 memcpy (this ->parents [i].hash_string , tmp3 + 1 , strlen (tmp3));
545544 this ->parents [i].name = this ->parents [i].hash_string ;
@@ -555,7 +554,6 @@ ParentRecord::ProcessParents(char *val, bool isPrimary)
555554 this ->secondary_parents [i].name = this ->secondary_parents [i].hostname ;
556555 this ->secondary_parents [i].available = true ;
557556 this ->secondary_parents [i].weight = weight;
558- this ->secondary_parents [i].retriers .clear ();
559557 if (tmp3) {
560558 memcpy (this ->secondary_parents [i].hash_string , tmp3 + 1 , strlen (tmp3));
561559 this ->secondary_parents [i].name = this ->secondary_parents [i].hash_string ;
@@ -1839,9 +1837,6 @@ EXCLUSIVE_REGRESSION_TEST(PARENTSELECTION)(RegressionTest * /* t ATS_UNUSED */,
18391837 FP;
18401838 RE (verify (result, PARENT_SPECIFIED, " carol" , 80 ), 211 );
18411839
1842- // max_retriers tests
1843- SET_MAX_RETRIERS (1 );
1844-
18451840 // Test 212
18461841 tbl[0 ] = ' \0 ' ;
18471842 ST (212 );
@@ -1862,16 +1857,6 @@ EXCLUSIVE_REGRESSION_TEST(PARENTSELECTION)(RegressionTest * /* t ATS_UNUSED */,
18621857 FP;
18631858 RE (verify (result, PARENT_SPECIFIED, " minnie" , 80 ), 213 );
18641859
1865- // Test 214
1866- // goofy gets chosen because max_retriers was set to 1
1867- // and goofy becomes available.
1868- sleep (params->policy .ParentRetryTime + 3 );
1869- ST (214 );
1870- REINIT;
1871- br (request, " i.am.mouse.com" );
1872- FP;
1873- RE (verify (result, PARENT_SPECIFIED, " goofy" , 80 ), 214 );
1874-
18751860 delete request;
18761861 delete result;
18771862 delete params;
0 commit comments