loleaflet: Make tile benchmark test work again
This broke after we introduced 'tilecombine' message. Change-Id: Id273a859b22cac6b50ba759241d0b36d27829700
This commit is contained in:
parent
9cf0cbf3a6
commit
5332e3f48c
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,7 @@ describe('TileBench', function () {
|
|||
incoming.push(logs[i]);
|
||||
}
|
||||
else if (logs[i].direction === L.OUTGOING) {
|
||||
logs[i].msg = logs[i].msg.replace('tilecombine','tile');
|
||||
outgoing.push(logs[i]);
|
||||
}
|
||||
}
|
||||
|
@ -126,6 +127,7 @@ describe('TileBench', function () {
|
|||
for (j = 0; j < incoming.length; j++) {
|
||||
if (outgoing[i].msg === incoming[j].msg) {
|
||||
time_deltas.push(incoming[j].time - outgoing[i].time);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue