a09aab728a
why: * to see if this is a problem, since events sent out without a context will pose a problem to live events consumers refs INTEROP-7187 flag=none test plan: * follow the instructions in doc/live_events.md to set up live events and print them to stdout logs * follow the instructions in doc/lti_manual/11_testing.md under `Stubbing Statsd Calls` to monkey-patch Statsd for easy metric viewing * (a good place to put that is in the ApplicationController) * comment out the call to `LiveEvents.set_context` in the ApplicationController * trigger any live event - navigating through course pages should be enough, though creating an assignment is always a good one * for every event triggered there should be a Statsd call for `missing_context` * add back the call to `set_context` * trigger more live events * the Statsd calls should not continue Change-Id: Ib87952e208885ef15b00561731769f808cdcd066 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/284053 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Tucker Mcknight <tmcknight@instructure.com> Reviewed-by: Evan Battaglia <ebattaglia@instructure.com> QA-Review: Evan Battaglia <ebattaglia@instructure.com> Product-Review: Xander Moffatt <xmoffatt@instructure.com> |
||
---|---|---|
.. | ||
lib | ||
spec | ||
Gemfile | ||
Rakefile | ||
live_events.gemspec | ||
test.sh |