Remove old travis config file and fix typo
Change-Id: If559097c8019b163fa39505e74d3423abaf2e237 Signed-off-by: Prashanth Pai <ppai@redhat.com>
This commit is contained in:
parent
051e068d1e
commit
bc234d05ba
14
.travis.yml
14
.travis.yml
@ -1,14 +0,0 @@
|
||||
language: python
|
||||
python:
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
|
||||
# command to install dependencies
|
||||
install: "pip install tox nose"
|
||||
|
||||
# command to run tests
|
||||
script:
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then tox -e py26; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then tox -e py27; fi
|
||||
- if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then curl http://build.gluster.org/job/swiftonfile-builds/buildWithParameters?token=swiftonfile\&cause=http://github.com/swiftonfile/swiftonfile\&TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST; fi
|
||||
- if [[ $TRAVIS_PULL_REQUEST != 'false' ]]; then curl http://build.gluster.org/job/swiftonfile-builds/buildWithParameters?token=swiftonfile\&cause=http://github.com/swiftonfile/swiftonfile/pull/$TRAVIS_PULL_REQUEST\&TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST; fi
|
@ -447,8 +447,8 @@ class DiskFileWriter(object):
|
||||
|
||||
df._threadpool.force_run_in_thread(self._finalize_put, metadata)
|
||||
|
||||
# Avoid the unlink() system call as part of the mkstemp context
|
||||
# cleanup
|
||||
# Avoid the unlink() system call as part of the DiskFile.create()
|
||||
# context cleanup
|
||||
self._tmppath = None
|
||||
|
||||
|
||||
@ -893,7 +893,7 @@ class DiskFile(object):
|
||||
if attempts >= MAX_OPEN_ATTEMPTS:
|
||||
# We failed after N attempts to create the temporary
|
||||
# file.
|
||||
raise DiskFileError('DiskFile.mkstemp(): failed to'
|
||||
raise DiskFileError('DiskFile.create(): failed to'
|
||||
' successfully create a temporary file'
|
||||
' without running into a name conflict'
|
||||
' after %d of %d attempts for: %s' % (
|
||||
@ -906,7 +906,7 @@ class DiskFile(object):
|
||||
# FIXME: Possible FUSE issue or race condition, let's
|
||||
# sleep on it and retry the operation.
|
||||
_random_sleep()
|
||||
logging.warn("DiskFile.mkstemp(): %s ... retrying in"
|
||||
logging.warn("DiskFile.create(): %s ... retrying in"
|
||||
" 0.1 secs", gerr)
|
||||
attempts += 1
|
||||
elif not self._obj_path:
|
||||
@ -915,7 +915,7 @@ class DiskFile(object):
|
||||
# could be a FUSE issue or some race condition, so let's
|
||||
# sleep a bit and retry.
|
||||
_random_sleep()
|
||||
logging.warn("DiskFile.mkstemp(): %s ... retrying in"
|
||||
logging.warn("DiskFile.create(): %s ... retrying in"
|
||||
" 0.1 secs", gerr)
|
||||
attempts += 1
|
||||
elif attempts > 1:
|
||||
@ -923,7 +923,7 @@ class DiskFile(object):
|
||||
# also be a FUSE issue or some race condition, nap and
|
||||
# retry.
|
||||
_random_sleep()
|
||||
logging.warn("DiskFile.mkstemp(): %s ... retrying in"
|
||||
logging.warn("DiskFile.create(): %s ... retrying in"
|
||||
" 0.1 secs" % gerr)
|
||||
attempts += 1
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user