Skip to content

Commit

Permalink
TEST/MD/IB: Reduce stack usage to make coverity happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankochin authored Oct 19, 2023
1 parent ec17b71 commit c3317ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/gtest/uct/ib/test_ib_md.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
#include <common/test.h>
#include <uct/test_md.h>

#include <array>

class test_ib_md : public test_md
{
protected:
Expand Down Expand Up @@ -231,7 +229,7 @@ void
test_ib_md::test_mkey_pack_mt_internal(unsigned access_mask, bool invalidate)
{
constexpr size_t size = 1 * UCS_MBYTE;
std::array<char, size> buffer;
std::vector<char> buffer(size, 0);
unsigned pack_flags, dereg_flags;
uct_mem_h memh;

Expand Down

0 comments on commit c3317ce

Please sign in to comment.