Skip to content

Commit

Permalink
Update USER_END test database schema (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomshutt authored Oct 17, 2023
1 parent fa3f85d commit 617e15d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion test/features/triggers.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ Feature: Mist trigger handling
| protocol_count | 2 |
| ip_address | 123.456.789.190 |
| ip_address_count | 1 |
| downloaded_bytes | 812 |
| downloaded_bytes | 812234546567 |
| uploaded_bytes | 25240087926 |
4 changes: 2 additions & 2 deletions test/fixtures/trigger-payloads/valid-user-end
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ video+111dip9jqar876kl
WebRTC,HLS
123.456.789.190
11
409031
812
25240087926
812234546567
[UA:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/116.0]
11
11
Expand Down
6 changes: 3 additions & 3 deletions test/steps/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ func (s *StepContext) StartDatabase() error {
uuid varchar,
timestamp_ms bigint,
connection_token varchar,
downloaded_bytes int,
uploaded_bytes int,
session_duration_s int,
downloaded_bytes bigint,
uploaded_bytes bigint,
session_duration_s bigint,
stream_id varchar,
stream_id_count int,
protocol varchar,
Expand Down

0 comments on commit 617e15d

Please sign in to comment.