mirror of
https://github.com/github/codeql.git
synced 2026-02-28 04:43:42 +01:00
We are no longer bound to the platform-specific directories, so simplify the test organization. If you don't want this change, just skip merging this PR. It's purely optional. I kept the platform-specific directories around under `kotlin`, but you could also easily merge all these together if you find them unhelpful. I'll leave that change to you.
8 lines
353 B
Python
8 lines
353 B
Python
def test(codeql, java):
|
|
# gradlew has been rigged to stall for a long time by trying to fetch from a black-hole IP.
|
|
# We should find the timeout logic fires and buildless aborts the Gradle run quickly.
|
|
codeql.database.create(
|
|
build_mode="none",
|
|
_env={"CODEQL_EXTRACTOR_JAVA_BUILDLESS_CHILD_PROCESS_IDLE_TIMEOUT": "5"},
|
|
)
|