Commit b259d21
committed
SymDB components spec: cover symbol_database wiring and shutdown
#5717 wired SymbolDatabase::Component into Core::Configuration::Components
(build at @symbol_database, shutdown! during teardown) but did not
extend components_spec.rb to cover the new wiring.
Add an @symbol_database describe block with two contexts:
- symbol_database disabled → components.symbol_database is nil
- symbol_database + remote config enabled → components.symbol_database
is a Datadog::SymbolDatabase::Component (skipped on JRuby and Ruby
< 2.6 per the feature's support matrix)
Also extend the #shutdown! test to assert that components.symbol_database
receives shutdown! when present, matching the pattern already used for
dynamic_instrumentation, appsec, etc.1 parent 5f2dad9 commit b259d21
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
176 | 203 | | |
177 | 204 | | |
178 | 205 | | |
| |||
631 | 658 | | |
632 | 659 | | |
633 | 660 | | |
| 661 | + | |
634 | 662 | | |
635 | 663 | | |
636 | 664 | | |
| |||
0 commit comments