re-enabled configure database and remove servers safely, even though they do not work with fearless

This commit is contained in:
Evan Tschannen 2018-02-14 16:07:23 -08:00
parent ead3892e77
commit 5303962af6
2 changed files with 3 additions and 3 deletions

View File

@ -45,11 +45,11 @@ struct ConfigureDatabaseWorkload : TestWorkload {
virtual std::string description() { return "DestroyDatabaseWorkload"; }
virtual Future<Void> setup( Database const& cx ) {
return Void();//_setup( cx, this );
return _setup( cx, this );
}
virtual Future<Void> start( Database const& cx ) {
return Void();//_start( this, cx );
return _start( this, cx );
}
virtual Future<bool> check( Database const& cx ) {
return true;

View File

@ -44,7 +44,7 @@ struct RemoveServersSafelyWorkload : TestWorkload {
RemoveServersSafelyWorkload( WorkloadContext const& wcx )
: TestWorkload(wcx)
{
enabled = false;//FIXME: re-enable !clientId && g_network->isSimulated(); // only do this on the "first" client, and only when in simulation
enabled = !clientId && g_network->isSimulated(); // only do this on the "first" client, and only when in simulation
minMachinesToKill = getOption( options, LiteralStringRef("minMachinesToKill"), 1 );
maxMachinesToKill = getOption( options, LiteralStringRef("maxMachinesToKill"), 10 );
maxMachinesToKill = std::max(minMachinesToKill, maxMachinesToKill);