/**
 * 
 */

var assert=require('assert');


var WebServer=require('../server.js');
var server=new WebServer({port:8091});

var http=require('http');
http.request({
	hostname: 'http://localhost',
	port: 8091
}, function(res) {



}).on('error', function(e) {
	assert.fail(e.message);
}).end();

setTimeout(function(){
	assert.fail('fail');
},1000);
/**
 * 
 */

var assert=require('assert');


var WebServer=require('../server.js');
var server=new WebServer({port:8091});

var http=require('http');
http.request({
	hostname: 'http://localhost',
	port: 8091
}, function(res) {



}).on('error', function(e) {
	assert.fail(e.message);
}).end();

remove timeout