Commit 6d9e2c4
authored
Improve stability of FixedSizeCacheTest identity/weak tests (#9362)
by eliminating the chance identity hash might collide even after 3 rehashes
the easiest way to do this is to bump the size of the cache used in testing
note this is only necessary because we want to keep both keys in the cache
to test the 'visit' method - otherwise we'd need to relax that assertion1 parent ee43e5f commit 6d9e2c4
File tree
1 file changed
+2
-2
lines changed- internal-api/src/test/groovy/datadog/trace/api/cache
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments