If the BatchSpanProcessor has not processed its queue test will fail with:
UnboundLocalError: local variable 'after_calls' referenced before assignment
So double the sleep to more than the schedule_delay_millis to give it more room.
Fixes #3936
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Description
If the BatchSpanProcessor has not processed its queue test will fail with: UnboundLocalError: local variable 'after_calls' referenced before assignment So double the sleep to more than the schedule_delay_millis to give it more room.
Fixes #3936
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Contrib Repo Change?
Checklist: