Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/statistics/:video_distribution --> github.com/EasyHi/go-analytics-dashboard/analytics.(*AnalyticsHandler).HandleGetMetricsAndMetaDataForVideoDistributionID-fm (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 500 | 266.018µs | | GET /DUMMY_PROMO_USER_ID/statistics/DUMMY_VIDEO_DISTRIBUTION_ID
- --- FAIL: TestAnalytics_GetFacebookAnalyticDataIntegration (0.07s)
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:94: failed save to db: failed to save data: pq: relation "public.facebook_analytic_data" does not exist
- handler_test.go:130: Latest statistics in the db differ from expected : root["created_at"]:
- -: "2019-04-26T09:09:59Z"
- +: <non-existent>
- root["error"]:
- -: <non-existent>
- +: map[string]interface {}{"code": "", "title": `failed to query analytics items: pq: relation "facebook_analytic_data" does not exist`}
- root["post_activity"]:
- -: 100
- +: <non-existent>
- root["post_clicks"]:
- -: 120
- +: <non-existent>
- root["post_impressions"]:
- -: 110
- +: <non-existent>
- root["post_video_avg_time_watched"]:
- -: 150
- +: <non-existent>
- root["post_video_view_time"]:
- -: 140
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.F.13-17"]:
- -: 160
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.F.18-24"]:
- -: 170
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.F.25-34"]:
- -: 180
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.F.35-44"]:
- -: 190
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.F.45-54"]:
- -: 200
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.F.55-64"]:
- -: 210
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.F.65+"]:
- -: 220
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.M.13-17"]:
- -: 230
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.M.18-24"]:
- -: 240
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.M.25-34"]:
- -: 250
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.M.35-44"]:
- -: 260
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.M.45-54"]:
- -: 270
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.M.55-64"]:
- -: 280
- +: <non-existent>
- root["post_video_view_time_by_age_bucket_and_gender.M.65+"]:
- -: 290
- +: <non-existent>
- root["post_video_views"]:
- -: 130
- +: <non-existent>
- root["video_distribution_id"]:
- -: "DUMMY_VIDEO_DISTRIBUTION_ID"
- +: <non-existent>
- root["video_family_id"]:
- -: "DUMMY_VIDEO_FAMILY_ID"
- +: <non-existent>
- root["video_id"]:
- -: "DUMMY_VIDEO_ID"
- +: <non-existent>
- root["video_thumbnail_url"]:
- -: "DUMMY_VIDEO_THUMBNAIL_URL"
- +: <non-existent>
- FAIL
- FAIL github.com/EasyHi/go-analytics-dashboard/analytics 0.146s
- ? github.com/EasyHi/go-analytics-dashboard/api/v2/generated/models [no test files]
- ? github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi [no test files]
- ? github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations [no test files]
- ? github.com/EasyHi/go-analytics-dashboard/api/v2/service [no test files]
- ? github.com/EasyHi/go-analytics-dashboard/db [no test files]
- ? github.com/EasyHi/go-analytics-dashboard/db/distribution [no test files]
- ? github.com/EasyHi/go-analytics-dashboard/db/promovideos [no test files]
- ok github.com/EasyHi/go-analytics-dashboard/handler/distributionlist 0.084s
- --- FAIL: TestIntegrationGetVideoDistributionsAnalytics_OneVideoDistributionIdSingleMetric (0.07s)
- handler_test.go:49: failed save to db
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/video_distributions/analytics --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsAnalyticsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 7.731575ms | | GET /a/video_distributions/analytics?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A1%2C%22PageSize%22%3A1%2C%22Ascending%22%3Atrue%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%221%22%2C%22LastMetricIncrease%22%3A0%2C%22LatestMetricId%22%3A3%7D&start_date=2019-05-01&video_distribution_id=1
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/video_distributions/analytics --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsAnalyticsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.962393ms | | GET /a/video_distributions/analytics?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A1%2C%22PageSize%22%3A1%2C%22Ascending%22%3Atrue%2C%22StartDate%22%3A%222019-06-01%22%2C%22LastVideoDistributionId%22%3A%221%22%2C%22LastMetricIncrease%22%3A0%2C%22LatestMetricId%22%3A1%7D&start_date=2019-06-01&video_distribution_id=1
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/video_distributions/analytics --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsAnalyticsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 5.080552ms | | GET /a/video_distributions/analytics?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A1%2C%22PageSize%22%3A1%2C%22Ascending%22%3Atrue%2C%22StartDate%22%3A%222019-06-01%22%2C%22LastVideoDistributionId%22%3A%221%22%2C%22LastMetricIncrease%22%3A0%2C%22LatestMetricId%22%3A0%7D&start_date=2019-06-01&video_distribution_id=1
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/video_distributions/analytics --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsAnalyticsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.683593ms | | GET /b/video_distributions/analytics?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A1%2C%22PageSize%22%3A3%2C%22Ascending%22%3Atrue%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%223%22%2C%22LastMetricIncrease%22%3A0%2C%22LatestMetricId%22%3A9%7D&start_date=2019-05-01&video_distribution_id=1%2C2%2C3
- --- FAIL: TestIntegrationGetVideoDistributionsAnalytics_SeveralPromoUserIdsSeveralVideoDistributionIdsSingleMetric (0.06s)
- handler_test.go:194: Unexpected video metrics: root[2]["clicks"]:
- -: 90
- +: <non-existent>
- --- FAIL: TestIntegrationGetVideoDistributionsAnalytics_OnePromoUserIdOneVideoDistributionIdSeveralMetrics (0.05s)
- handler_test.go:215: failed save to db
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/video_distributions/analytics --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsAnalyticsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.465406ms | | GET /b/video_distributions/analytics?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A1%2C%22PageSize%22%3A3%2C%22Ascending%22%3Atrue%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%223%22%2C%22LastMetricIncrease%22%3A0%2C%22LatestMetricId%22%3A9%7D&start_date=2019-05-01&video_distribution_id=1
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/video_distributions/analytics --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsAnalyticsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 3.854503ms | | GET /a/video_distributions/analytics?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A1%2C%22PageSize%22%3A1%2C%22Ascending%22%3Atrue%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%221%22%2C%22LastMetricIncrease%22%3A0%2C%22LatestMetricId%22%3A3%7D&start_date=2019-05-01&video_distribution_id=1
- --- FAIL: TestIntegrationGetVideoDistributionsAnalytics_OneVideoDistributionIdAvgWatchTimeMetric (0.05s)
- handler_test.go:315: Unexpected video metrics: root[0]["avg_watch_time"]:
- -: 1633
- +: 1350
- FAIL
- FAIL github.com/EasyHi/go-analytics-dashboard/handler/v2/distributionanalytics 0.517s
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 12.562244ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=4&sort_by=views&sort_dir=desc&start_date=2019-05-01
- --- FAIL: TestIntegrationGetVideoDistributions_SupportsAscendingSorting (0.07s)
- handler_test.go:78: failed save to db
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 3.224132ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=4&sort_by=views&sort_dir=desc&start_date=2019-05-02
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.077899ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=4&sort_by=views&sort_dir=desc&start_date=2019-05-10
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.348736ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=4&sort_by=views&sort_dir=desc&start_date=2019-05-02
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 6.177909ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=2&sort_by=views&sort_dir=desc&start_date=2019-05-01
- [GIN] 2019/07/17 - 13:22:06 | 200 | 1.130134ms | | GET /DUMMY_PROMO_USER_ID/list?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A2%2C%22PageSize%22%3A2%2C%22Ascending%22%3Afalse%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%22b%22%2C%22LastMetricIncrease%22%3A30%2C%22LatestMetricId%22%3A19%7D&page=2&page_size=2&sort_by=views&sort_dir=desc&start_date=2019-05-01
- [GIN] 2019/07/17 - 13:22:06 | 200 | 893.57µs | | GET /DUMMY_PROMO_USER_ID/list?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A3%2C%22PageSize%22%3A2%2C%22Ascending%22%3Afalse%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%22c%22%2C%22LastMetricIncrease%22%3A15%2C%22LatestMetricId%22%3A19%7D&page=3&page_size=2&sort_by=views&sort_dir=desc&start_date=2019-05-01
- [GIN] 2019/07/17 - 13:22:06 | 200 | 865.814µs | | GET /DUMMY_PROMO_USER_ID/list?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A4%2C%22PageSize%22%3A2%2C%22Ascending%22%3Afalse%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%22d%22%2C%22LastMetricIncrease%22%3A5%2C%22LatestMetricId%22%3A19%7D&page=4&page_size=2&sort_by=views&sort_dir=desc&start_date=2019-05-01
- --- FAIL: TestIntegrationGetVideoDistributions_PaginationIsStableWhenMetricsChange (0.04s)
- handler_test.go:228: failed save to db
- --- FAIL: TestIntegrationGetVideoDistributions_EngagementsSupportsAscendingSorting (0.08s)
- handler_test.go:286: failed save to db
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.199256ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=4&sort_by=engagements&sort_dir=desc&start_date=2019-05-10
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 500 | 2.967553ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=2&sort_by=engagements&sort_dir=desc&start_date=2019-05-01
- --- FAIL: TestIntegrationGetVideoDistributions_EngagementsPaginatesResultCorrectly (0.09s)
- testing_helper.go:47: Request finished with unexpected status 500, body {"type":"","title":"","status":0,"detail":"failed to query analytics items: pq: relation \"facebook_analytic_data\" does not exist","instance":""}
- --- FAIL: TestIntegrationGetVideoDistributions_EngagementsPaginatesIsStableWhenMetricsChange (0.07s)
- handler_test.go:406: failed save to db
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 3.285675ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=4&sort_by=avg_watch_time&sort_dir=asc&start_date=2019-05-01
- --- FAIL: TestIntegrationGetVideoDistributions_SupportsAvgWatchTimeDescendingSorting (0.07s)
- handler_test.go:487: failed save to db
- --- FAIL: TestIntegrationGetVideoDistributions_SupportsAvgWatchTimeDescendingSortingSingleValues (0.06s)
- handler_test.go:512: failed save to db
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.266606ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=2&sort_by=avg_watch_time&sort_dir=desc&start_date=2019-05-01
- [GIN] 2019/07/17 - 13:22:06 | 200 | 882.387µs | | GET /DUMMY_PROMO_USER_ID/list?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A2%2C%22PageSize%22%3A2%2C%22Ascending%22%3Afalse%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%22c%22%2C%22LastMetricIncrease%22%3A750%2C%22LatestMetricId%22%3A14%7D&page=2&page_size=2&sort_by=avg_watch_time&sort_dir=desc&start_date=2019-05-01
- [GIN] 2019/07/17 - 13:22:06 | 200 | 687.223µs | | GET /DUMMY_PROMO_USER_ID/list?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A3%2C%22PageSize%22%3A2%2C%22Ascending%22%3Afalse%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%22e%22%2C%22LastMetricIncrease%22%3A450%2C%22LatestMetricId%22%3A14%7D&page=3&page_size=2&sort_by=avg_watch_time&sort_dir=desc&start_date=2019-05-01
- [GIN] 2019/07/17 - 13:22:06 | 200 | 634.681µs | | GET /DUMMY_PROMO_USER_ID/list?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A4%2C%22PageSize%22%3A2%2C%22Ascending%22%3Afalse%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%22d%22%2C%22LastMetricIncrease%22%3A200%2C%22LatestMetricId%22%3A14%7D&page=4&page_size=2&sort_by=avg_watch_time&sort_dir=desc&start_date=2019-05-01
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/list --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetVideoDistributionsEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 1.975373ms | | GET /DUMMY_PROMO_USER_ID/list?page=1&page_size=1&sort_by=avg_watch_time&sort_dir=desc&start_date=2019-05-01
- [GIN] 2019/07/17 - 13:22:06 | 200 | 1.248569ms | | GET /DUMMY_PROMO_USER_ID/list?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A2%2C%22PageSize%22%3A1%2C%22Ascending%22%3Afalse%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%22b%22%2C%22LastMetricIncrease%22%3A3300%2C%22LatestMetricId%22%3A10%7D&page=2&page_size=1&sort_by=avg_watch_time&sort_dir=desc&start_date=2019-05-01
- [GIN] 2019/07/17 - 13:22:06 | 200 | 876.144µs | | GET /DUMMY_PROMO_USER_ID/list?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A3%2C%22PageSize%22%3A1%2C%22Ascending%22%3Afalse%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%22a%22%2C%22LastMetricIncrease%22%3A2100%2C%22LatestMetricId%22%3A10%7D&page=3&page_size=1&sort_by=avg_watch_time&sort_dir=desc&start_date=2019-05-01
- [GIN] 2019/07/17 - 13:22:06 | 200 | 908.748µs | | GET /DUMMY_PROMO_USER_ID/list?continue=%7B%22Version%22%3A%22v1%22%2C%22Page%22%3A4%2C%22PageSize%22%3A1%2C%22Ascending%22%3Afalse%2C%22StartDate%22%3A%222019-05-01%22%2C%22LastVideoDistributionId%22%3A%22c%22%2C%22LastMetricIncrease%22%3A1200%2C%22LatestMetricId%22%3A10%7D&page=4&page_size=1&sort_by=avg_watch_time&sort_dir=desc&start_date=2019-05-01
- FAIL
- FAIL github.com/EasyHi/go-analytics-dashboard/handler/v2/distributionlist 1.238s
- ok github.com/EasyHi/go-analytics-dashboard/handler/v2/distributionsummary (cached) [no tests to run]
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/gender-age-distribution/ --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAggregatedGenderAgeDistributionEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.883202ms | | GET /a/analytics/gender-age-distribution/?start_date=2019-05-18
- --- FAIL: TestIntegrationGetAggregatedGenderAgeDistribution_OneVideoDistributionIDOnePromoUserIDOneAgeBracketAndGenderAndOtherMetric (0.08s)
- handler_test.go:89: failed save to db
- --- FAIL: TestIntegrationGetAggregatedGenderAgeDistribution_OneVideoDistributionIDOnePromoUserIDSeveralAgeBracketsAndGender (0.09s)
- handler_test.go:132: failed save to db
- --- FAIL: TestIntegrationGetAggregatedGenderAgeDistribution_TwoVideoDistributionIDOnePromoUserIDSeveralAgeBracketsAndGender (0.06s)
- handler_test.go:194: failed save to db
- --- FAIL: TestIntegrationGetAggregatedGenderAgeDistribution_TwoVideoDistributionIDTwoPromoUserIDSeveralAgeBracketsAndGender (0.04s)
- handler_test.go:243: failed save to db
- FAIL
- FAIL github.com/EasyHi/go-analytics-dashboard/handler/v2/genderageanalytics 0.500s
- --- FAIL: TestIntegrationGetAnalyticsMetricValues_OneVideoDistributionIDOnePromoUserIDNoGaps (0.05s)
- handler_test.go:52: failed save to db
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/timeline/:metric_name --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAnalyticsMetricValuesEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.118402ms | | GET /a/analytics/timeline/clicks?start_date=2019-05-18
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/timeline/:metric_name --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAnalyticsMetricValuesEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.737328ms | | GET /a/analytics/timeline/clicks?start_date=2019-05-18
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/timeline/:metric_name --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAnalyticsMetricValuesEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 3.158535ms | | GET /a/analytics/timeline/clicks?start_date=2019-05-18
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/timeline/:metric_name --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAnalyticsMetricValuesEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.19608ms | | GET /a/analytics/timeline/clicks?start_date=2019-05-18
- --- FAIL: TestIntegrationGetAnalyticsMetricValues_TwoVideoDistributionIDTwoPromoUserIDGapsBetweenAndNoDataOnTheEnd (0.07s)
- handler_test.go:254: failed save to db
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/timeline/:metric_name --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAnalyticsMetricValuesEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 3.787723ms | | GET /a/analytics/timeline/clicks?start_date=2019-05-18
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/timeline/:metric_name --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAnalyticsMetricValuesEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.558741ms | | GET /a/analytics/timeline/clicks?start_date=2019-05-18
- --- FAIL: TestIntegrationGetAnalyticsMetricValues_EngagementsOneVideoDistributionIDOnePromoUserIDNoGaps (0.05s)
- handler_test.go:364: failed save to db
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/timeline/:metric_name --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAnalyticsMetricValuesEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 2.762259ms | | GET /a/analytics/timeline/engagements?start_date=2019-05-18
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/timeline/:metric_name --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAnalyticsMetricValuesEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:06 | 200 | 3.016071ms | | GET /a/analytics/timeline/engagements?start_date=2019-05-18
- [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
- [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- - using env: export GIN_MODE=release
- - using code: gin.SetMode(gin.ReleaseMode)
- [GIN-debug] GET /:promo_user_id/analytics/timeline/:metric_name --> github.com/EasyHi/go-analytics-dashboard/api/v2/generated/restapi/operations.GetAnalyticsMetricValuesEndpoint.func1 (3 handlers)
- [GIN] 2019/07/17 - 13:22:07 | 200 | 3.769773ms | | GET /a/analytics/timeline/engagements?start_date=2019-05-18
- FAIL
- FAIL github.com/EasyHi/go-analytics-dashboard/handler/v2/metricsanalytics 0.726s
- ok github.com/EasyHi/go-analytics-dashboard/handler/v2/videoscountanalytics 0.030s
- ok github.com/EasyHi/go-analytics-dashboard/handler/v2/videoslengthanalytics 0.027s
- ok github.com/EasyHi/go-analytics-dashboard/handler/v2/videoswatchanalytics 0.115s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement