Skip to content

Conversation

@mojojojo99
Copy link
Owner

Fixes autolab#123.

Changes proposed in this PR:

  • Change 1
  • Change 2
  • Change 3

clairecw and others added 14 commits December 12, 2020 23:17
* implemented dictionary contains

* tests for tango*dictionary

* job IDs may be strings

* bug with jobqueue fix

* removed unnecessary .keys() calls in jobQueue

* removed unnecessary .keys() calls in preallocator

* additionally dict testing

* change assert type

Co-authored-by: claire <[email protected]>
* fix for shutil on ubuntu 18.04

* Use host volume path when starting jobs

* Add instance name to path

* self fix
* comments & error handling for getNextId

* inline comments + docs

* remove early return in get next id
* change get next pending job in manager to be blocking

* add unassigned job q to jobq

* remove remove api which is unused

* updated jobQueue to use unassigned q

* updated tango objects with the new queue support

* update tests

* fixes for unit tests

* add unit test and add

* fix use of remove in jobQueue + unit test

* added unit tests

* added tests for TangoQueue object

* some comments

* shifted unassignedJobs get before lock acquire

* updated makeDead

* shift order of remove

* add reuseVm instead of getNextPendingJobReuse

* returned the remove api

* remove unassigned job in makeDead

* sleep a while while waiting for vm

* fixed nit
* Added tests for preallocator

* Added comments for tests

* import errors

* tests fixed

* tests fixed

Co-authored-by: mojojojo <[email protected]>
* Upgrade to 18.04 and more optimized dockerfile

* add sudo

Co-authored-by: EC2 Default User <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants