-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added basic automation functionality. #16
base: development
Are you sure you want to change the base?
Added basic automation functionality. #16
Conversation
@@ -99,6 +100,7 @@ namespace NetSoakTest | |||
AZ_CVAR(uint16_t, soak_port, 33450, nullptr, AZ::ConsoleFunctorFlags::DontReplicate, "The port that this soak test will bind to for game traffic"); | |||
AZ_CVAR(ProtocolType, soak_protocol, ProtocolType::Udp, nullptr, AZ::ConsoleFunctorFlags::DontReplicate, "Soak test protocol"); | |||
AZ_CVAR(SoakMode, soak_mode, SoakMode::Loopback, nullptr, AZ::ConsoleFunctorFlags::DontReplicate, "Soak test mode"); | |||
AZ_CVAR(SoakMode, soak_runtime, AZ::TimeMs(0), nullptr, AZ::ConsoleFunctorFlags::DontReplicate, "How long to run the soak test for before dumping stats"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Consider adding time unit, mS, S, minutes etc to description.
@@ -38,6 +39,7 @@ namespace NetSoakTest | |||
static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required); | |||
static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent); | |||
|
|||
bool IsHandshakeComplete() const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: consider comments for all public methods/functions
void OnPacketLost(AzNetworking::IConnection* connection, AzNetworking::PacketId packetId) override; | ||
void OnDisconnect(AzNetworking::IConnection* connection, AzNetworking::DisconnectReason reason, AzNetworking::TerminationEndpoint endpoint) override; | ||
//////////////////////////////////////////////////////////////////////// | ||
|
||
private: | ||
AzNetworking::INetworkInterface* m_networkInterface = nullptr; | ||
AzNetworking::INetworkInterface* m_loopbackInterface = nullptr; | ||
|
||
AZ::TimeMs totalElapsedMs = AZ::TimeMs(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
m_totalElapsedMs
Signed-off-by: scspaldi <[email protected]>
0061c9d
to
a262d08
Compare
Signed-off-by: scspaldi [email protected]
Dummy PR to run Jenkins tests, use #15 to provide feedback