Skip to content

Commit

Permalink
fix databricks test after CI refactor (OpenLineage#3075)
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Leszczynski <[email protected]>
  • Loading branch information
pawel-big-lebowski authored Sep 10, 2024
1 parent 2cce532 commit 8bceec8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ private static String createCluster(WorkspaceClient workspace) {
.build();

log.info("Creating cluster");
workspace.config().setHttpTimeoutSeconds(600); // 10 minutes, otherwise it's rather setup issue
CreateClusterResponse response =
workspace
.apiClient()
Expand Down Expand Up @@ -221,7 +222,7 @@ private static void uploadOpenlineageJar(WorkspaceClient workspace) {
Path jarFile =
Files.list(Paths.get("../build/libs/"))
.filter(p -> p.getFileName().toString().startsWith("openlineage-spark_"))
.filter(p -> p.getFileName().toString().endsWith("jar"))
.filter(p -> p.getFileName().toString().endsWith("-SNAPSHOT.jar"))
.findAny()
.orElseThrow(() -> new RuntimeException("openlineage-spark jar not found"));

Expand Down

0 comments on commit 8bceec8

Please sign in to comment.