Description
when I write test code to testing the replacement of function GetAvalibeRooms,I meet a strange problem.
`
initializeGameServer: async (gameServer) => {
/**
* Define your room handlers:
*/
gameServer.define('my_room', MyRoom);
gameServer.define('lobby', LobbyRoom);
matchMaker.createRoom("default Room", {});
console.log("create default room!");
const conditions: any = {
//locked: false,
//private: false,
};
console.log(await matchMaker.query(conditions));
},
`
I plan to create a default room for testing query room by http.but when I write "matchMaker.createRoom("default Room", {});" in initializeGameServer.
server did not listen 2567 port after npm start.but everything shows normal on cmd.You can see "⚔️ Listening on http://localhost:2567" on the last.and " matchMaker.query(conditions)" get empty result by the way,It should be defult room on that result.
I confirmed it through netstat commend,when I remove "matchMaker.createRoom("default Room", {});",the port was been listened correctly.
my colysuse version is 0.16.0