Commit Graph

14 Commits

Author SHA1 Message Date
Ayaz Salikhov
100187f79d Make free_host_port a fixture (#2267)
* Make free_host_port a fixture

* Remove redundant comment
2025-03-25 15:33:26 +00:00
Ayaz Salikhov
bc3baf8ad8 Improve logs around running docker (#2261) 2025-03-23 11:09:53 +00:00
Ayaz Salikhov
dcd1c457d3 Refactor TrackedContainer run_detached/exec_cmd functions (#2256)
* Refactor TrackedContainer run_detached/exec_cmd functions

* Add get_logs() method

* Small fixes

* Make get_health() a method

* Remove kwargs, always print output

* Small fixes
2025-03-21 10:05:00 +00:00
Ayaz Salikhov
b35f1554d6 Test server listening on IPv4/IPv6 (#2255)
* Test server listening on IPv4/IPv6

* Set up Docker in create-dev-env

* Show docker version

* Add info about docker client

* Check requests

* Show docker client version

* Try to pass docker sock

* Fix

* Break fast

* Revert

* Cleanup

* Better naming

* Always use docker.from_env

* Revert "Always use docker.from_env"

This reverts commit d03069ac28.

* Use custom docker client for only one test

* More logs

* Use cont_data_dir in test, so workdir doesn't matter

* Use common variable names

* Move patch to a separate function

* Try to use set-host option

* Use the same docker client in get_health

* Use .api

* Rewrite check_listening.py to use one function for both ipv4 and ipv6

* Add links to explain why we need to set up docker manually
2025-03-20 17:12:22 +00:00
Ayaz Salikhov
165bbc1e71 Better tests directory structure (#2231) 2025-02-21 17:46:43 +00:00
Ayaz Salikhov
80b71625f0 Use Python 3.12 for internal code (#2222)
* Use Python 3.12 for internal code

* Add changelog entry
2025-02-18 15:26:06 +00:00
Ayaz Salikhov
2f1cf2a2ef Expect warnings/errors when no_warnings/no_errors is False (#2160) 2024-10-20 16:38:40 +01:00
Ayaz Salikhov
0a75e3d3a6 Minor improvements 2023-11-21 13:17:33 +01:00
Ayaz Salikhov
7a4381ff2f Use only rv['StatusCode'] to simplify code (#1982) 2023-08-25 13:47:36 +04:00
Ayaz Salikhov
74bbd0bffc Implement run-hooks as a separate script (#1979)
* Implement run-hooks as a separate script

* Add more tests

* Add more docs
2023-08-25 01:53:00 +04:00
Ayaz Salikhov
2a1cd45ebf Pin jupyter_server>=2.0.0 (#1853)
* Pin jupyter_server==2.0.0

* Update scipy-notebook/Dockerfile

Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>

* Fix test

* Fix test

* Test healthcheck properly

* Fix typing

Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
2022-12-30 11:08:27 +02:00
Ayaz Salikhov
2f201a4b81 Run pre-commit tools: isort, requirements-txt-fixer 2022-03-16 14:48:23 +02:00
Ayaz Salikhov
b487d1afbe Make mypy config strict and work on pre-commit 2022-03-08 23:23:13 +03:00
Ayaz Salikhov
6d04f39de6 Run tests on all children images 2022-02-17 16:34:15 +00:00