Skip to content

Commit

Permalink
Fix IT - download-licenses-file-names-bad-sha1-force
Browse files Browse the repository at this point in the history
Test depends on remote content, when content will change test being failed again
  • Loading branch information
slawekjaranowski committed May 2, 2023
1 parent 6676560 commit 98c5a5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ final Path basePath = basedir.toPath()

final Path log = basePath.resolve('build.log')
assert Files.exists(log)
assert log.text.contains('URL \'http://www.antlr.org/license.html\' returned content with unexpected sha1 \'074f8d6e91730b40875178666513014472888247\'; expected \'2b8b815229aa8a61e483fb4ba0588b8b6c491890\'')
assert log.text.contains('URL \'http://www.antlr.org/license.html\' returned content with unexpected sha1 \'666518759e606772587886dcb54a9867bcf275e0\'; expected \'2b8b815229aa8a61e483fb4ba0588b8b6c491890\'')

2 comments on commit 98c5a5f

@olamy
Copy link
Member

@olamy olamy commented on 98c5a5f May 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well. this sounds a future failing test :)
maybe better to remove this as we do not have any control on this remote content.

@slawekjaranowski
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a proxy which return the same content for one url.
It can be used i hope.

Please sign in to comment.