Permalink
Browse files

Use production collector for acceptance tests

  • Loading branch information...
kolanos committed Oct 9, 2018
1 parent d06c383 commit 4367f7c3f0e0f5277fcfeacc3e897ffd3a50ec51
Showing with 8 additions and 12 deletions.
  1. +8 −12 acceptance/serverless/handler.py
@@ -15,31 +15,27 @@
from iopipe.contrib.profiler import ProfilerPlugin
from iopipe.contrib.trace import TracePlugin
url = "https://metrics-dev-api-go.iopipe.com"
iopipe = IOpipe(debug=True, url=url)
iopipe = IOpipe(debug=True)
eventinfo_plugin = EventInfoPlugin()
iopipe_with_eventinfo = IOpipeCore(debug=True, plugins=[eventinfo_plugin], url=url)
iopipe_with_eventinfo = IOpipeCore(debug=True, plugins=[eventinfo_plugin])
logger_plugin = LoggerPlugin()
iopipe_with_logging = IOpipeCore(debug=True, plugins=[logger_plugin], url=url)
iopipe_with_logging = IOpipeCore(debug=True, plugins=[logger_plugin])
logger_plugin_tmp = LoggerPlugin(use_tmp=True)
iopipe_with_logging_tmp = IOpipeCore(debug=True, plugins=[logger_plugin_tmp], url=url)
iopipe_with_logging_tmp = IOpipeCore(debug=True, plugins=[logger_plugin_tmp])
profiler_plugin = ProfilerPlugin(enabled=True)
iopipe_with_profiling = IOpipeCore(debug=True, plugins=[profiler_plugin], url=url)
iopipe_with_profiling = IOpipeCore(debug=True, plugins=[profiler_plugin])
iopipe_with_sync_http = IOpipe(debug=True, sync_http=True, url=url)
iopipe_with_sync_http = IOpipe(debug=True, sync_http=True)
trace_plugin = TracePlugin()
iopipe_with_tracing = IOpipeCore(debug=True, plugins=[trace_plugin], url=url)
iopipe_with_tracing = IOpipeCore(debug=True, plugins=[trace_plugin])
trace_plugin_auto_http = TracePlugin(auto_http=True)
iopipe_with_auto_http = IOpipeCore(
debug=True, plugins=[trace_plugin_auto_http], url=url
)
iopipe_with_auto_http = IOpipeCore(debug=True, plugins=[trace_plugin_auto_http])
@iopipe_with_eventinfo

0 comments on commit 4367f7c

Please sign in to comment.