File tree Expand file tree Collapse file tree 7 files changed +4
-18
lines changed Expand file tree Collapse file tree 7 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 21
21
env :
22
22
VSCODE_TEST_VERSION : ${{ matrix.vscode-version }}
23
23
NODE_OPTIONS : ' --max-old-space-size=8192'
24
- # Set a fixed timezone for tests. Intentionally _not_ UTC.
25
- TZ : ' US/Pacific'
26
24
steps :
27
25
- uses : actions/checkout@v4
28
26
- name : Use Node.js ${{ matrix.node-version }}
66
64
env :
67
65
VSCODE_TEST_VERSION : ${{ matrix.vscode-version }}
68
66
NODE_OPTIONS : ' --max-old-space-size=8192'
69
- # Set a fixed timezone for tests. Intentionally _not_ UTC.
70
- TZ : ' US/Pacific'
71
67
steps :
72
68
- uses : actions/checkout@v4
73
69
- name : Use Node.js ${{ matrix.node-version }}
Original file line number Diff line number Diff line change @@ -5,10 +5,7 @@ run-as: codebuild-user
5
5
6
6
env :
7
7
variables :
8
- # Set a fixed timezone for tests. Intentionally _not_ UTC.
9
- TZ : ' US/Pacific'
10
8
AWS_TOOLKIT_TEST_NO_COLOR : ' 1'
11
- NO_COVERAGE : ' true'
12
9
# Suppress noisy apt-get/dpkg warnings like "debconf: unable to initialize frontend: Dialog").
13
10
DEBIAN_FRONTEND : ' noninteractive'
14
11
Original file line number Diff line number Diff line change 9
9
# VSCODE_TEST_VERSION
10
10
# GITHUB_READONLY_TOKEN
11
11
AWS_TOOLKIT_TEST_NO_COLOR : ' 1'
12
- # Set a fixed timezone for tests. Intentionally _not_ UTC.
13
- TZ : ' US/Pacific'
14
- NO_COVERAGE : ' true'
15
12
# Suppress noisy apt-get/dpkg warnings like "debconf: unable to initialize frontend: Dialog").
16
13
DEBIAN_FRONTEND : ' noninteractive'
17
14
Original file line number Diff line number Diff line change 7
7
# For "pipefail".
8
8
shell : bash
9
9
variables :
10
- # Set a fixed timezone for tests. Intentionally _not_ UTC.
11
- TZ : ' US/Pacific'
12
10
AWS_TOOLKIT_TEST_NO_COLOR : ' 1'
13
11
14
12
phases :
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ version: 0.2
2
2
env :
3
3
variables :
4
4
AWS_TOOLKIT_TEST_NO_COLOR : ' 1'
5
- # Set a fixed timezone for tests. Intentionally _not_ UTC.
6
- TZ : ' US/Pacific'
7
5
phases :
8
6
install :
9
7
runtime-versions :
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ import { runTests } from '@vscode/test-electron'
11
11
import { VSCODE_EXTENSION_ID } from '../../src/shared/extensions'
12
12
import { TestOptions } from '@vscode/test-electron/out/runTest'
13
13
14
+ // Set a fixed timezone. Intentionally _not_ UTC, to increase variation in tests.
15
+ process . env . TZ = 'US/Pacific'
16
+ // process.env.TZ = 'Europe/London'
17
+
14
18
const envvarVscodeTestVersion = 'VSCODE_TEST_VERSION'
15
19
16
20
const stable = 'stable'
Original file line number Diff line number Diff line change @@ -37,10 +37,6 @@ let openExternalStub: sinon.SinonStub<Parameters<(typeof vscode)['env']['openExt
37
37
// let executeCommandSpy: sinon.SinonSpy | undefined
38
38
39
39
export async function mochaGlobalSetup ( this : Mocha . Runner ) {
40
- // Set a fixed timezone. Intentionally _not_ UTC, to increase variation in tests.
41
- process . env . TZ = 'US/Pacific'
42
- // process.env.TZ = 'Europe/London'
43
-
44
40
// Clean up and set up test logs
45
41
try {
46
42
await remove ( testLogOutput )
You can’t perform that action at this time.
0 commit comments