debian-forge/test
Christian Kellner abbdf06ba5 jsoncomm: switch to use sequenced-packet sockets
Switch to use a connection oriented datagram based protocol, i.e.
`SOCK_SEQPACKET`, instead of `SOCK_DGRAM`. It sill preserves
message boundaries, but since it is connection oriented the client
nor the server do not need to specify the destination addresses
of the peer in sendmsg/recvmesg. Moreover, the host will be able
to send messages to the client, even if the latter is sandboxed
with a separate network namespace. In the `SOCK_DRAM` case the
auto-bound address of the client would not be visible to the host
and thus sending messages would to it would fail.

Adapt the jsoncomm tests as well as `BaseAPI`.
2020-07-29 02:16:20 +01:00
..
data test: use a dummy pipeline when testing assemblers 2020-07-21 10:25:47 +02:00
external-repos ⚙ Bring over CI improvements from osbuild-composer 2020-07-14 13:05:18 +02:00
mod jsoncomm: switch to use sequenced-packet sockets 2020-07-29 02:16:20 +01:00
pipelines test: move all test manifests to get fedora packages from kernel mirrors 2020-06-07 22:08:34 +02:00
run test/assemblers: use one osbuild executor for all qemu and tar tests 2020-07-27 13:18:40 +01:00
src test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
test.py osbuild: replace capture_output in subprocess.run 2020-06-09 13:42:35 +02:00