open-nomad/drivers/java
Mahmood Ali 91376cccf2 tests: failover to copying when symlinking fails
Symlinking busybox may fail when the test code and the test temporary
directory live on different volumes/partitions; so we should copy
instead.  This situation arises in the Vagrant setup, where the code
repository live on special file sharing volume.

Somewhat unrelated, remove `f.Sync()` invocation from a test copyFile
helper function.  Sync is useful only for crash recovery, and isn't
necessary in our test setup.  The sync invocation is a significant
overhead as it requires the OS to flush any cached writes to disk.
2020-09-30 09:58:22 -04:00
..
test-resources
driver.go Task DNS Options (#7661) 2020-06-18 11:01:31 -07:00
driver_pre09.go drivers: always initialize taskHandle.logger 2019-11-22 10:44:59 -05:00
driver_test.go tests: failover to copying when symlinking fails 2020-09-30 09:58:22 -04:00
handle.go goimports 2019-01-22 15:44:31 -08:00
state.go
utils.go drivers/java: restore 0.8.7 java version detection (#5317) 2019-02-12 13:41:26 -05:00
utils_test.go drivers/java: restore 0.8.7 java version detection (#5317) 2019-02-12 13:41:26 -05:00