Internal Jenkins has submitted this change and it was merged.

Change subject: IMPALA-3368: Fix race in test_scratch_disk.py
......................................................................


IMPALA-3368: Fix race in test_scratch_disk.py

The problem is that xdist is spinning up multiple processes and each
process tries to create the the same temp dirs. This commit fixes the
issue by creating a randomly named dir to avoid the conflict.

Change-Id: Ic0764843ace00aef8c9b01139906e01ab5213047
Reviewed-on: http://gerrit.cloudera.org:8080/2817
Reviewed-by: Casey Ching <[email protected]>
Reviewed-by: Alex Behm <[email protected]>
Tested-by: Internal Jenkins
---
M tests/custom_cluster/test_scratch_disk.py
1 file changed, 47 insertions(+), 34 deletions(-)

Approvals:
  Casey Ching: Looks good to me, but someone else must approve
  Internal Jenkins: Verified
  Alex Behm: Looks good to me, approved



-- 
To view, visit http://gerrit.cloudera.org:8080/2817
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic0764843ace00aef8c9b01139906e01ab5213047
Gerrit-PatchSet: 4
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Taras Bobrovytsky <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>
Gerrit-Reviewer: Casey Ching <[email protected]>
Gerrit-Reviewer: Internal Jenkins
Gerrit-Reviewer: Michael Brown <[email protected]>
Gerrit-Reviewer: Taras Bobrovytsky <[email protected]>

Reply via email to