Skip to content

Commit f0d06c4

Browse files
authored
ci: fix unit tests, bump actions-timeline (#19509)
* fix unit tests, bump actions-timeline CI is failing to startup to run unit tests, complaining about actions-timeline version not being allowed, switched to latest per https://github.com/apache/infrastructure-actions/blob/main/actions.yml * fix S3InputSourceTest
1 parent 50ce465 commit f0d06c4

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/unit-and-integration-tests-unified.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ jobs:
6464
runs-on: ubuntu-latest
6565
if: ${{ !cancelled() }}
6666
steps:
67-
- uses: Kesin11/actions-timeline@54d513e0b5ff1158f1cf8321108d666a5a6c1fca
67+
- uses: Kesin11/actions-timeline@44c9c178ffb2fb1d9859614a3ffa79ccfb77565e

extensions-core/s3-extensions/src/test/java/org/apache/druid/data/input/s3/S3InputSourceTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,8 @@ public void testSerdeWithCloudConfigPropertiesWithSessionToken() throws Exceptio
408408
public void testSchemelessEndpointConfigUrlWithNullClientConfigResolvesSupplier() throws Exception
409409
{
410410
EasyMock.reset(SERVER_SIDE_ENCRYPTING_AMAZON_S3_BUILDER);
411-
EasyMock.expect(SERVER_SIDE_ENCRYPTING_AMAZON_S3_BUILDER.setS3ClientSupplier(EasyMock.anyObject()))
412-
.andReturn(SERVER_SIDE_ENCRYPTING_AMAZON_S3_BUILDER);
413-
EasyMock.expect(SERVER_SIDE_ENCRYPTING_AMAZON_S3_BUILDER.build())
414-
.andReturn(SERVICE);
411+
EasyMock.expect(SERVER_SIDE_ENCRYPTING_AMAZON_S3_BUILDER.getS3StorageConfig())
412+
.andStubReturn(S3_STORAGE_CONFIG);
415413
EasyMock.replay(SERVER_SIDE_ENCRYPTING_AMAZON_S3_BUILDER);
416414

417415
final AWSEndpointConfig schemelessEndpoint = MAPPER.readValue(

0 commit comments

Comments
 (0)