Commit Graph

2 Commits

Author SHA1 Message Date
Eliot Horowitz
1990f56f85 make test work with any server port 2013-05-17 12:25:23 -04:00
Tad Marshall
c40533e151 SERVER-8030 Validate connection string in JavaScript connect() function
Validate that the "URL" passed to the connect() function matches one of the
accepted formats (host:port/database, host/database or database) before trying
to use it to connect to a server.  Change a uassert in HostAndPort::init() to
an massert to match the massert four lines above it.  Add jstest for connect()
validation.
2013-03-11 14:41:44 -04:00