summaryrefslogtreecommitdiff
path: root/s
diff options
context:
space:
mode:
Diffstat (limited to 's')
-rw-r--r--s/grid.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/s/grid.cpp b/s/grid.cpp
index d9efa6936cb..6141e061be6 100644
--- a/s/grid.cpp
+++ b/s/grid.cpp
@@ -472,6 +472,10 @@ namespace mongo {
class BalancingWindowUnitTest : public UnitTest {
public:
void run() {
+
+ if ( ! cmdLine.isMongos() )
+ return;
+
// T0 < T1 < now < T2 < T3 and Error
const string T0 = "9:00";
const string T1 = "11:00";