Commit ee971a1
committed
Log and assert actually processed permutations
Currently we log the actual number of permutation removed from the stack
and also assert the counts for the individual permutation types added.
Now as we have the Backlog actually filtering out candidates that are
likely not good solutions the actual number of processed permutations
becomes much more interesting.
This now adds a new logger method for that case and uses it in the tests
to assert that no more than a certain number of permutations are
actually processed in the resolver loop.1 parent 36c1f08 commit ee971a1
File tree
4 files changed
+34
-14
lines changed- bundles
- org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/container
- org.eclipse.osgi
- container/src/org/eclipse/osgi/container
- felix/src/org/apache/felix/resolver
4 files changed
+34
-14
lines changedLines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1982 | 1982 | | |
1983 | 1983 | | |
1984 | 1984 | | |
1985 | | - | |
| 1985 | + | |
1986 | 1986 | | |
1987 | 1987 | | |
1988 | 1988 | | |
1989 | 1989 | | |
1990 | | - | |
| 1990 | + | |
1991 | 1991 | | |
1992 | 1992 | | |
1993 | 1993 | | |
1994 | 1994 | | |
1995 | | - | |
| 1995 | + | |
1996 | 1996 | | |
1997 | 1997 | | |
1998 | 1998 | | |
| |||
3939 | 3939 | | |
3940 | 3940 | | |
3941 | 3941 | | |
3942 | | - | |
| 3942 | + | |
3943 | 3943 | | |
3944 | 3944 | | |
3945 | | - | |
| 3945 | + | |
3946 | 3946 | | |
3947 | 3947 | | |
3948 | | - | |
3949 | | - | |
| 3948 | + | |
3950 | 3949 | | |
3951 | 3950 | | |
3952 | 3951 | | |
| |||
4369 | 4368 | | |
4370 | 4369 | | |
4371 | 4370 | | |
4372 | | - | |
4373 | | - | |
| 4371 | + | |
4374 | 4372 | | |
4375 | 4373 | | |
4376 | 4374 | | |
4377 | 4375 | | |
4378 | 4376 | | |
4379 | 4377 | | |
4380 | | - | |
4381 | | - | |
| 4378 | + | |
4382 | 4379 | | |
4383 | 4380 | | |
4384 | 4381 | | |
4385 | 4382 | | |
4386 | 4383 | | |
4387 | | - | |
4388 | 4384 | | |
4389 | 4385 | | |
4390 | 4386 | | |
4391 | 4387 | | |
4392 | 4388 | | |
4393 | 4389 | | |
4394 | | - | |
| 4390 | + | |
4395 | 4391 | | |
4396 | 4392 | | |
4397 | 4393 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| 484 | + | |
484 | 485 | | |
485 | 486 | | |
486 | 487 | | |
| |||
609 | 610 | | |
610 | 611 | | |
611 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
612 | 618 | | |
613 | 619 | | |
614 | 620 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
188 | 204 | | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
| 295 | + | |
294 | 296 | | |
295 | 297 | | |
296 | 298 | | |
| |||
0 commit comments