From 3070c14afc9bd5113e36cd48e3ab2ff1456c560e Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Thu, 15 Aug 2024 11:01:36 -0700 Subject: [PATCH 1/2] Update how the date string is created in the tests --- tests/lib/log-delivery.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/lib/log-delivery.test.ts b/tests/lib/log-delivery.test.ts index fd0a73b..1b32144 100644 --- a/tests/lib/log-delivery.test.ts +++ b/tests/lib/log-delivery.test.ts @@ -1271,11 +1271,11 @@ describe('when delivering logs', () => { loggerProxy.addLogPublisher(s3Logger); loggerProxy.log('count: [%d]', 5.12); - loggerProxy.log('timestamp: [%s]', new Date('2020-01-01')); + loggerProxy.log('timestamp: [%s]', new Date('2020-01-01').toISOString()); - loggerProxy.log('timestamp: [%s]', new Date('2020-01-02')); - loggerProxy.log('timestamp: [%s]', new Date('2020-01-03')); - loggerProxy.log('timestamp: [%s]', new Date('2020-01-04')); + loggerProxy.log('timestamp: [%s]', new Date('2020-01-02').toISOString()); + loggerProxy.log('timestamp: [%s]', new Date('2020-01-03').toISOString()); + loggerProxy.log('timestamp: [%s]', new Date('2020-01-04').toISOString()); expect(inspect.defaultOptions.depth).toBe(8); await loggerProxy.waitCompletion(); From 90001b17505263a740389ebab759aa1800c40463 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Thu, 15 Aug 2024 11:30:46 -0700 Subject: [PATCH 2/2] Attempt to fix colima starting issues --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c36fd9..f84c057 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: # Docker engine is no longer available because of licensing # Alternative Colima is part of the github macOS runner # SAM v1.47.0+ needed for colima support, unable to use Python 3.6 - colima start + colima start --arch x86_64 # Ensure colima is configured for later user echo "DOCKER_HOST=unix://$HOME/.colima/default/docker.sock" >> $GITHUB_ENV # Verify Docker