Skip to content

Commit

Permalink
UCT/UD/TEST: convert stack allocation at connect_iface_2k test_ud to …
Browse files Browse the repository at this point in the history
…heap
  • Loading branch information
michal-shalev committed Sep 18, 2024
1 parent 6615268 commit 5574ee9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/gtest/uct/ib/test_ud.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#include <uct/uct_test.h>

#include <vector>

extern "C" {
#include <ucs/time/time.h>
#include <ucs/datastruct/queue.h>
Expand Down Expand Up @@ -757,10 +759,9 @@ UCS_TEST_P(test_ud, connect_iface_sim2v2) {
* - flush() will also progress pending CREQs
*/
UCS_TEST_P(test_ud, connect_iface_2k) {

unsigned i;
unsigned cids[2000];
unsigned count = 2000 / ucs::test_time_multiplier();
std::vector<unsigned> cids(count, 0);

/* create 2k connections */
for (i = 0; i < count; i++) {
Expand Down

0 comments on commit 5574ee9

Please sign in to comment.