fdbrpc is compiling

This commit is contained in:
Markus Pilman 2022-06-23 17:15:49 -06:00
parent ffaf15c12a
commit 9d80ee0cb6
9 changed files with 9 additions and 8 deletions

View File

@ -67,6 +67,8 @@ set(FDBCLIENT_SRCS
GlobalConfig.actor.h
GlobalConfig.actor.cpp
GrvProxyInterface.h
HTTP.h
HTTP.actor.cpp
HighContentionPrefixAllocator.actor.h
IClientApi.h
IConfigTransaction.cpp
@ -106,6 +108,10 @@ set(FDBCLIENT_SRCS
SimpleConfigTransaction.actor.cpp
SpecialKeySpace.actor.cpp
SpecialKeySpace.actor.h
RESTClient.h
RESTClient.actor.cpp
RESTUtils.h
RESTUtils.actor.cpp
ReadYourWrites.actor.cpp
ReadYourWrites.h
RestoreInterface.cpp

View File

@ -1,4 +1,5 @@
set(FDBRPC_SRCS
ActorFuzz.h
AsyncFileCached.actor.h
AsyncFileChaos.h
AsyncFileEIO.actor.h
@ -27,8 +28,6 @@ set(FDBRPC_SRCS
genericactors.actor.cpp
HealthMonitor.h
HealthMonitor.actor.cpp
HTTP.h
HTTP.actor.cpp
IPAllowList.h
IPAllowList.cpp
LoadBalance.h
@ -52,10 +51,6 @@ set(FDBRPC_SRCS
ReplicationTypes.cpp
ReplicationUtils.h
ReplicationUtils.cpp
RESTClient.h
RESTClient.actor.cpp
RESTUtils.h
RESTUtils.actor.cpp
SimExternalConnection.actor.cpp
SimExternalConnection.h
Smoother.h

View File

@ -25,7 +25,6 @@
#include <boost/range.hpp>
#include <thread>
#include "fdbclient/FDBTypes.h"
#include "fdbrpc/SimExternalConnection.h"
#include "flow/Net2Packet.h"
#include "flow/Platform.h"
@ -214,7 +213,8 @@ TEST_CASE("fdbrpc/SimExternalClient") {
// Wait until server is ready
threadSleep(0.01);
}
state Key data = deterministicRandom()->randomAlphaNumeric(deterministicRandom()->randomInt(0, maxDataLength + 1));
state Standalone<StringRef> data =
deterministicRandom()->randomAlphaNumeric(deterministicRandom()->randomInt(0, maxDataLength + 1));
PacketWriter packetWriter(packetQueue.getWriteBuffer(data.size()), nullptr, Unversioned());
packetWriter.serializeBytes(data);
wait(externalConn->onWritable());