Fix unit tests. #193
GitHub Actions / JUnit Test Report
failed
May 31, 2024 in 0s
405 tests run, 402 passed, 0 skipped, 3 failed.
Annotations
github-actions / JUnit Test Report
CentralCacheTests.clean_cache_listens_to_project_property_for_size
Condition failed with Exception:
new File(tempDir, ".caches-global").listFiles().size() > 4
| | | |
| | null java.lang.NullPointerException: Cannot invoke method size() on null object
| | at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
| /var/folders/lr/439_fwvd3m76p9vy50d57kcc0000gn/T/spock_clean_cache_listens_0_tempDir6578036796419297049
/var/folders/lr/439_fwvd3m76p9vy50d57kcc0000gn/T/spock_clean_cache_listens_0_tempDir6578036796419297049/.caches-global
Raw output
Condition failed with Exception:
new File(tempDir, ".caches-global").listFiles().size() > 4
| | | |
| | null java.lang.NullPointerException: Cannot invoke method size() on null object
| | at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
| /var/folders/lr/439_fwvd3m76p9vy50d57kcc0000gn/T/spock_clean_cache_listens_0_tempDir6578036796419297049
/var/folders/lr/439_fwvd3m76p9vy50d57kcc0000gn/T/spock_clean_cache_listens_0_tempDir6578036796419297049/.caches-global
at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
Caused by: java.lang.NullPointerException: Cannot invoke method size() on null object
... 1 more
github-actions / JUnit Test Report
CentralCacheTests.clean_cache_listens_to_project_property_for_size
Condition failed with Exception:
new File(tempDir, ".caches-global").listFiles().size() > 4
| | | |
| | null java.lang.NullPointerException: Cannot invoke method size() on null object
| | at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
| /tmp/spock_clean_cache_listens_0_tempDir14044178017373998899
/tmp/spock_clean_cache_listens_0_tempDir14044178017373998899/.caches-global
Raw output
Condition failed with Exception:
new File(tempDir, ".caches-global").listFiles().size() > 4
| | | |
| | null java.lang.NullPointerException: Cannot invoke method size() on null object
| | at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
| /tmp/spock_clean_cache_listens_0_tempDir14044178017373998899
/tmp/spock_clean_cache_listens_0_tempDir14044178017373998899/.caches-global
at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
Caused by: java.lang.NullPointerException: Cannot invoke method size() on null object
... 1 more
github-actions / JUnit Test Report
CentralCacheTests.clean_cache_listens_to_project_property_for_size
Condition failed with Exception:
new File(tempDir, ".caches-global").listFiles().size() > 4
| | | |
| | null java.lang.NullPointerException: Cannot invoke method size() on null object
| | at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
| C:\Users\RUNNER~1\AppData\Local\Temp\spock_clean_cache_listens_0_tempDir8882045346617165859
C:\Users\RUNNER~1\AppData\Local\Temp\spock_clean_cache_listens_0_tempDir8882045346617165859\.caches-global
Raw output
Condition failed with Exception:
new File(tempDir, ".caches-global").listFiles().size() > 4
| | | |
| | null java.lang.NullPointerException: Cannot invoke method size() on null object
| | at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
| C:\Users\RUNNER~1\AppData\Local\Temp\spock_clean_cache_listens_0_tempDir8882045346617165859
C:\Users\RUNNER~1\AppData\Local\Temp\spock_clean_cache_listens_0_tempDir8882045346617165859\.caches-global
at net.neoforged.gradle.userdev.CentralCacheTests.clean_cache_listens_to_project_property_for_size(CentralCacheTests.groovy:74)
Caused by: java.lang.NullPointerException: Cannot invoke method size() on null object
... 1 more
Loading