• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ni / nimi-python / 3885
91%

Build:
DEFAULT BRANCH: master
Ran 21 May 2018 10:23PM UTC
Jobs 6
Files 27
Run time 8min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3885

push

travis-ci

marcoskirsch
Add session lock/unlock (#846)

* Add session lock to per function metadata based on config value if not already set

* Add lock context manager

* Add support for lock context manager around function contents

* Update metadata with locking information

* Update generated files

* Add comment about race condition

* Add templates for lock/unlock

Need hand maintained code because lock/unlock have an in/out parameter that the code generator does not support.

* Fix pep8

* Use caller_has_lock in context manager

* Use special templates

* Update generated files

* Lock/unlock need to be on _SessionBase

* Update generated files

* Add lock/unlock to nifake

* Some parameters can be passed as None

* Fix logic

* Fix logic

* Add and test session locking to nifake

* Fix flake8 issue

* Update generated files

* Update changelog

* Add one system test with lock context manager

* Update to force commit

* Update generated files

* Update changelog

* Fix typo

* Fix incorrect comment

* Fix merge issue

* Update generated files

* Don't use locking

* Update generated files

* Temp decorator

* Decorator will be in a separate PR

* Don't support or use caller_has_lock

* Update generated files

* Remove comment that doesn't apply anymore

* Remove metadata that we are not using for this PR

* We don't need to add use_session_lock in this PR

* Update generated files

* Update documentation for lock/unlock

* Update generated files

* Call _lock_session() in lock() instead of in the context manager

* Make lock_session private and use unlock instead of unlock_session

* Use metadata instead of hardcoding names

* Update generated files

* Update lock/unlock documentation

* Fix comment indentation

* flake8

* Update generated files

* Flake8 issue

* Update changelog

* lock_session is private so do not need rst template

* Fix docs - use variable ... (continued)

2982 of 3694 relevant lines covered (80.73%)

4.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3885.1 21 May 2018 10:24PM UTC 0
80.45
Travis Job 3885.1
2 3885.2 21 May 2018 10:23PM UTC 0
80.45
Travis Job 3885.2
3 3885.3 21 May 2018 10:24PM UTC 0
80.45
Travis Job 3885.3
4 3885.4 21 May 2018 10:26PM UTC 0
80.67
Travis Job 3885.4
5 3885.5 21 May 2018 10:31PM UTC 0
80.45
Travis Job 3885.5
6 3885.6 21 May 2018 10:30PM UTC 0
80.67
Travis Job 3885.6
Source Files on build 3885
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3885
  • 9f8ecc99 on github
  • Prev Build on master (#3884)
  • Next Build on master (#3900)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc