Commit Graph

216 Commits

Author SHA1 Message Date
46b022f726 Restore missing loop 2022-08-27 23:45:30 +02:00
8f296e54f4 Add back loop 2022-08-27 23:41:52 +02:00
fc7d5be736 Use pytest-asyncio auto mode 2022-08-27 21:10:17 +02:00
d1c8f33fc5 Upgrade dev dependencies and fix issues after upgrading to pytest-aiohttp v1.0.4 2022-08-27 19:16:02 +02:00
ec3c36d6da Fix Docker tests 2022-06-19 21:18:54 +02:00
527d4bb3ea Run Xtigervnc with MIT-SHM extension disabled for Docker VNC console support. Fixes #2071 2022-06-08 00:05:24 +08:00
87c1df1639 Fix compute Docker test. Fixes #2003 2021-12-15 13:30:38 +10:30
611570a863 Fix qemu-img rebase code to support Qemu 6.1. Ref https://github.com/GNS3/gns3-server/pull/1962 2021-09-05 22:18:46 +09:30
ed336da304 Qemu 6.1 support
Handle the deprecated use of backing file without explicit backing format issue.
2021-09-05 18:34:37 +09:30
4eb8491cfa Fix tests. Fixes #1950 2021-09-01 19:31:37 +09:30
c684c554bf Fix tests
(cherry picked from commit 2ba6eac113)
2020-08-13 17:10:31 +09:30
bf4550bf78 Fix tests. Ref https://github.com/GNS3/gns3-gui/issues/3047 2020-09-13 23:23:08 +09:30
855a95de49 Fix tests. Fixes #1796 2020-07-30 14:58:22 +09:30
850c30f958 Merge branch 'master' into 2.2
# Conflicts:
#	tests/handlers/api/compute/test_dynamips.py
#	tests/handlers/api/compute/test_qemu.py
2020-06-29 18:44:46 +09:30
27da8458e8 Allow tests to be run by root. Fixes #1784 2020-06-29 18:43:35 +09:30
7fd8fde020 Some fixes for tests. Ref #1784 2020-06-19 19:05:23 +09:30
e4b7e46444 Fix tests for Windows 2020-06-16 01:57:16 -07:00
d3ea67da24 Refactor tests
* Use pytest-aiohttp
* Use the async def / await syntax.
* Fix tests to run with Python 3.8
2020-06-16 13:59:03 +09:30
dd11d38338 Fix tests. 2020-04-27 22:48:42 +09:30
c5412bf970 Allocate application IDs for IOU nodes on the controller.
An application ID is used by IOU to generate its interface Mac addresses. They must be unique across all opened projects sharing the same computes to avoid Mac address collisions.
2020-02-10 15:20:49 +08:00
688b1ac0e4 Fix tests. 2020-01-08 07:10:33 +08:00
907207a140 Fix tests 2019-11-06 15:35:59 +08:00
077432ff2f Add qemu drive id to tests 2019-09-03 16:45:50 +02:00
af78031322 Resolve conflicts in docker volumes instead of error. Fixes https://github.com/GNS3/gns3-server/issues/1595 2019-06-05 10:40:40 +01:00
9cce4de190 %guest-cid% variable implementation for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/2804 2019-06-04 18:00:44 +02:00
cdae1f9e00 Merge pull request #1584 from kazkansouh/2.2-docker-volumes
Custom persistent docker volumes
2019-05-18 20:17:11 +07:00
c41c01b95f Fix tests. 2019-05-18 19:19:27 +07:00
81ddb0cfe6 Impoved docker volumes user input validation 2019-04-22 12:46:28 +01:00
0c19bc8d43 Support for additional persistent docker volumes to be specified within appliance configuration 2019-04-22 10:26:41 +01:00
6df93d4db0 Updated tests for setting docker user 2019-04-05 11:06:35 +01:00
a17119187b Fix remote packet capture for Dynamips. 2019-04-01 20:58:18 +07:00
343f223a83 Fix tests after deactivating the embedded shell for Ethernet switch. Ref #1424 #1556 2019-03-20 17:04:02 +08:00
dd211bce52 Fix VBoxManage fails if VM has specific special characters in name. Fixes #2739 2019-03-18 23:29:18 +07:00
5754747a90 Merging 2.1 into 2.2 2019-02-22 18:04:49 +07:00
174624121d Fix Qemu VM tests. Ref #1516 2019-02-17 19:53:46 +08:00
c736051dda Fix tests. 2018-12-30 21:50:47 +07:00
58b2ee152d Fix Docker console test. 2018-11-30 18:59:02 +08:00
56412b35e0 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/compute/docker/docker_vm.py
#	gns3server/utils/asyncio/telnet_server.py
2018-11-30 12:38:02 +08:00
3fae6ada95 Only require privileged access for uBridge when connecting a cloud to an Ethernet/TAP interface. Fixes #1461. 2018-11-19 17:33:17 +07:00
e7b8309a80 Fix Docker VNC tests. Ref #1438 2018-11-11 23:25:23 +08:00
d45d52f15c Support Xtigervnc restart. 2018-11-11 23:23:30 +08:00
ab8dc52ece Fix tests to work with new version of aiohttp (>= 3.0) 2018-10-17 17:32:10 +07:00
76af98404a Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425 2018-10-15 17:05:49 +07:00
33e8710495 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/compute/docker/docker_vm.py
#	gns3server/controller/compute.py
#	gns3server/controller/gns3vm/__init__.py
#	gns3server/controller/link.py
#	gns3server/controller/project.py
#	gns3server/handlers/api/controller/project_handler.py
#	gns3server/handlers/api/controller/server_handler.py
#	gns3server/utils/asyncio/__init__.py
#	gns3server/utils/asyncio/telnet_server.py
#	gns3server/version.py
#	gns3server/web/web_server.py
#	tests/compute/qemu/test_qemu_vm.py
2018-08-29 15:57:54 +07:00
f5dc635baa Fix test to support Python 3.7 Ref https://github.com/GNS3/gns3-gui/issues/2566 2018-08-25 15:50:08 +07:00
a3d1e865a8 Replace asyncio.async() by asyncio.ensure_future() in tests. Ref #2566. 2018-08-24 18:52:15 +07:00
1550c7bee7 Fix cloud tests. 2018-06-10 17:56:56 +07:00
d1ccf3bc84 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/version.py
#	requirements.txt
2018-06-04 22:46:52 +07:00
7b3d5ae5e3 Create/update project on compute when variables changes 2018-05-09 15:29:35 +02:00
83445214be Support for nested global variables 2018-05-09 11:25:55 +02:00