]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librados: avoid using rlimit on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 15 Sep 2022 08:42:10 +0000 (08:42 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Mon, 20 Feb 2023 12:59:27 +0000 (12:59 +0000)
commit0824384ea986c8fa5c8c79f9db90cc92fb5e750c
treef788a236ce0652d70b267626534764c435a094f8
parent9de2d0949de9551f8119319dbda94e494153c97e
test/librados: avoid using rlimit on Windows

One of the librados tests is temporarily adjusting the file
rlimit. This is unsupported on Windows, so we're skipping it.

At the same time, asprintf is not available, so we'll switch
to sprint with a predefined buffer.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/test/librados/service.cc