summaryrefslogtreecommitdiff
path: root/spec/frontend/logs/mock_data.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-18 03:09:43 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-18 03:09:43 +0000
commitb4b9b3854eddd2a4829113ebfc1812c3a332a7d9 (patch)
tree6a21e491917e1606d81329af710459b0217eb1a4 /spec/frontend/logs/mock_data.js
parent2e31c85a97183814ffa7ba5cc58f7bbad668fb2b (diff)
downloadgitlab-ce-b4b9b3854eddd2a4829113ebfc1812c3a332a7d9.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/logs/mock_data.js')
-rw-r--r--spec/frontend/logs/mock_data.js90
1 files changed, 84 insertions, 6 deletions
diff --git a/spec/frontend/logs/mock_data.js b/spec/frontend/logs/mock_data.js
index 1a84d6edd12..537582cff5a 100644
--- a/spec/frontend/logs/mock_data.js
+++ b/spec/frontend/logs/mock_data.js
@@ -32,15 +32,93 @@ export const mockPods = [
];
export const mockLogsResult = [
- { timestamp: '2019-12-13T13:43:18.2760123Z', message: 'Log 1' },
- { timestamp: '2019-12-13T13:43:18.2760123Z', message: 'Log 2' },
- { timestamp: '2019-12-13T13:43:26.8420123Z', message: 'Log 3' },
+ {
+ timestamp: '2019-12-13T13:43:18.2760123Z',
+ message: '10.36.0.1 - - [16/Oct/2019:06:29:48 UTC] "GET / HTTP/1.1" 200 13',
+ pod: 'foo',
+ },
+ {
+ timestamp: '2019-12-13T13:43:18.2760123Z',
+ message: '- -> /',
+ pod: 'bar',
+ },
+ {
+ timestamp: '2019-12-13T13:43:26.8420123Z',
+ message: '10.36.0.1 - - [16/Oct/2019:06:29:57 UTC] "GET / HTTP/1.1" 200 13',
+ pod: 'foo',
+ },
+ {
+ timestamp: '2019-12-13T13:43:26.8420123Z',
+ message: '- -> /',
+ pod: 'bar',
+ },
+ {
+ timestamp: '2019-12-13T13:43:28.3710123Z',
+ message: '10.36.0.1 - - [16/Oct/2019:06:29:58 UTC] "GET / HTTP/1.1" 200 13',
+ pod: 'foo',
+ },
+ {
+ timestamp: '2019-12-13T13:43:28.3710123Z',
+ message: '- -> /',
+ pod: 'bar',
+ },
+ {
+ timestamp: '2019-12-13T13:43:36.8860123Z',
+ message: '10.36.0.1 - - [16/Oct/2019:06:30:07 UTC] "GET / HTTP/1.1" 200 13',
+ pod: 'foo',
+ },
+ {
+ timestamp: '2019-12-13T13:43:36.8860123Z',
+ message: '- -> /',
+ pod: 'bar',
+ },
+ {
+ timestamp: '2019-12-13T13:43:38.4000123Z',
+ message: '10.36.0.1 - - [16/Oct/2019:06:30:08 UTC] "GET / HTTP/1.1" 200 13',
+ pod: 'foo',
+ },
+ {
+ timestamp: '2019-12-13T13:43:38.4000123Z',
+ message: '- -> /',
+ pod: 'bar',
+ },
+ {
+ timestamp: '2019-12-13T13:43:46.8420123Z',
+ message: '10.36.0.1 - - [16/Oct/2019:06:30:17 UTC] "GET / HTTP/1.1" 200 13',
+ pod: 'foo',
+ },
+ {
+ timestamp: '2019-12-13T13:43:46.8430123Z',
+ message: '- -> /',
+ pod: 'bar',
+ },
+ {
+ timestamp: '2019-12-13T13:43:48.3240123Z',
+ message: '10.36.0.1 - - [16/Oct/2019:06:30:18 UTC] "GET / HTTP/1.1" 200 13',
+ pod: 'foo',
+ },
+ {
+ timestamp: '2019-12-13T13:43:48.3250123Z',
+ message: '- -> /',
+ pod: 'bar',
+ },
];
export const mockTrace = [
- 'Dec 13 13:43:18.276Z | Log 1',
- 'Dec 13 13:43:18.276Z | Log 2',
- 'Dec 13 13:43:26.842Z | Log 3',
+ 'Dec 13 13:43:18.276Z | foo | 10.36.0.1 - - [16/Oct/2019:06:29:48 UTC] "GET / HTTP/1.1" 200 13',
+ 'Dec 13 13:43:18.276Z | bar | - -> /',
+ 'Dec 13 13:43:26.842Z | foo | 10.36.0.1 - - [16/Oct/2019:06:29:57 UTC] "GET / HTTP/1.1" 200 13',
+ 'Dec 13 13:43:26.842Z | bar | - -> /',
+ 'Dec 13 13:43:28.371Z | foo | 10.36.0.1 - - [16/Oct/2019:06:29:58 UTC] "GET / HTTP/1.1" 200 13',
+ 'Dec 13 13:43:28.371Z | bar | - -> /',
+ 'Dec 13 13:43:36.886Z | foo | 10.36.0.1 - - [16/Oct/2019:06:30:07 UTC] "GET / HTTP/1.1" 200 13',
+ 'Dec 13 13:43:36.886Z | bar | - -> /',
+ 'Dec 13 13:43:38.400Z | foo | 10.36.0.1 - - [16/Oct/2019:06:30:08 UTC] "GET / HTTP/1.1" 200 13',
+ 'Dec 13 13:43:38.400Z | bar | - -> /',
+ 'Dec 13 13:43:46.842Z | foo | 10.36.0.1 - - [16/Oct/2019:06:30:17 UTC] "GET / HTTP/1.1" 200 13',
+ 'Dec 13 13:43:46.843Z | bar | - -> /',
+ 'Dec 13 13:43:48.324Z | foo | 10.36.0.1 - - [16/Oct/2019:06:30:18 UTC] "GET / HTTP/1.1" 200 13',
+ 'Dec 13 13:43:48.325Z | bar | - -> /',
];
export const mockResponse = {