Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flaky test TestInstructionSetup #231

Open
GwennanS opened this issue Feb 5, 2020 · 0 comments
Open

flaky test TestInstructionSetup #231

GwennanS opened this issue Feb 5, 2020 · 0 comments
Labels
back-end This issue concerns back-end development bug Something isn't working

Comments

@GwennanS
Copy link
Collaborator

GwennanS commented Feb 5, 2020

--- FAIL: TestInstructionSetup (0.00s)
panic: 
mock: Unexpected Method Call
-----------------------------
Publish(string,string,int)
		0: "front-end"
		1: "{\"device_id\":\"back-end\",\"time_sent\":\"05-02-2020 10:20:51\",\"type\":\"setup\",\"contents\":{\"buttons\":[{\"disabled\":false,\"id\":\"start\"}],\"cameras\":[{\"link\":\"https://raccoon.games\",\"name\":\"camera1\"}],\"devices\":[{\"description\":\"The telephone can ring and display a message. It will also record the numbers turned, and send these as sequence\",\"id\":\"telephone\",\"labels\":[\"sound\"]},{\"description\":\"The operator webapp for managing a escape room\",\"id\":\"front-end\",\"labels\":[]}],\"events\":[{\"description\":\"De juiste volgorde van cijfers moet gedraaid worden.\",\"eventName\":\"Telefoon puzzels\",\"id\":\"correctSequence\",\"puzzle\":true,\"status\":false}],\"hints\":{\"Telefoon puzzels\":[\"De knop verzend jouw volgorde\"]},\"name\":\"Escape X\"}}"
		2: 3
The closest call I have is: 
Publish(string,string,int)
		0: "front-end"
		1: "{\"device_id\":\"back-end\",\"time_sent\":\"05-02-2020 10:20:51\",\"type\":\"setup\",\"contents\":{\"buttons\":[{\"disabled\":false,\"id\":\"start\"}],\"cameras\":[{\"link\":\"https://raccoon.games\",\"name\":\"camera1\"}],\"devices\":[{\"description\":\"The operator webapp for managing a escape room\",\"id\":\"front-end\",\"labels\":[]},{\"description\":\"The telephone can ring and display a message. It will also record the numbers turned, and send these as sequence\",\"id\":\"telephone\",\"labels\":[\"sound\"]}],\"events\":[{\"description\":\"De juiste volgorde van cijfers moet gedraaid worden.\",\"eventName\":\"Telefoon puzzels\",\"id\":\"correctSequence\",\"puzzle\":true,\"status\":false}],\"hints\":{\"Telefoon puzzels\":[\"De knop verzend jouw volgorde\"]},\"name\":\"Escape X\"}}"
		2: 3
Diff: 0: PASS:  (string=front-end) == (string=front-end)
	1: FAIL:  (string={"device_id":"back-end","time_sent":"05-02-2020 10:20:51","type":"setup","contents":{"buttons":[{"disabled":false,"id":"start"}],"cameras":[{"link":"https://raccoon.games","name":"camera1"}],"devices":[{"description":"The telephone can ring and display a message. It will also record the numbers turned, and send these as sequence","id":"telephone","labels":["sound"]},{"description":"The operator webapp for managing a escape room","id":"front-end","labels":[]}],"events":[{"description":"De juiste volgorde van cijfers moet gedraaid worden.","eventName":"Telefoon puzzels","id":"correctSequence","puzzle":true,"status":false}],"hints":{"Telefoon puzzels":["De knop verzend jouw volgorde"]},"name":"Escape X"}}) != (string={"device_id":"back-end","time_sent":"05-02-2020 10:20:51","type":"setup","contents":{"buttons":[{"disabled":false,"id":"start"}],"cameras":[{"link":"https://raccoon.games","name":"camera1"}],"devices":[{"description":"The operator webapp for managing a escape room","id":"front-end","labels":[]},{"description":"The telephone can ring and display a message. It will also record the numbers turned, and send these as sequence","id":"telephone","labels":["sound"]}],"events":[{"description":"De juiste volgorde van cijfers moet gedraaid worden.","eventName":"Telefoon puzzels","id":"correctSequence","puzzle":true,"status":false}],"hints":{"Telefoon puzzels":["De knop verzend jouw volgorde"]},"name":"Escape X"}})
	2: PASS:  (int=3) == (int=3) [recovered]
	panic: 
mock: Unexpected Method Call
-----------------------------
Publish(string,string,int)
		0: "front-end"
		1: "{\"device_id\":\"back-end\",\"time_sent\":\"05-02-2020 10:20:51\",\"type\":\"setup\",\"contents\":{\"buttons\":[{\"disabled\":false,\"id\":\"start\"}],\"cameras\":[{\"link\":\"https://raccoon.games\",\"name\":\"camera1\"}],\"devices\":[{\"description\":\"The telephone can ring and display a message. It will also record the numbers turned, and send these as sequence\",\"id\":\"telephone\",\"labels\":[\"sound\"]},{\"description\":\"The operator webapp for managing a escape room\",\"id\":\"front-end\",\"labels\":[]}],\"events\":[{\"description\":\"De juiste volgorde van cijfers moet gedraaid worden.\",\"eventName\":\"Telefoon puzzels\",\"id\":\"correctSequence\",\"puzzle\":true,\"status\":false}],\"hints\":{\"Telefoon puzzels\":[\"De knop verzend jouw volgorde\"]},\"name\":\"Escape X\"}}"
		2: 3
The closest call I have is: 
Publish(string,string,int)
		0: "front-end"
		1: "{\"device_id\":\"back-end\",\"time_sent\":\"05-02-2020 10:20:51\",\"type\":\"setup\",\"contents\":{\"buttons\":[{\"disabled\":false,\"id\":\"start\"}],\"cameras\":[{\"link\":\"https://raccoon.games\",\"name\":\"camera1\"}],\"devices\":[{\"description\":\"The operator webapp for managing a escape room\",\"id\":\"front-end\",\"labels\":[]},{\"description\":\"The telephone can ring and display a message. It will also record the numbers turned, and send these as sequence\",\"id\":\"telephone\",\"labels\":[\"sound\"]}],\"events\":[{\"description\":\"De juiste volgorde van cijfers moet gedraaid worden.\",\"eventName\":\"Telefoon puzzels\",\"id\":\"correctSequence\",\"puzzle\":true,\"status\":false}],\"hints\":{\"Telefoon puzzels\":[\"De knop verzend jouw volgorde\"]},\"name\":\"Escape X\"}}"
		2: 3
Diff: 0: PASS:  (string=front-end) == (string=front-end)
	1: FAIL:  (string={"device_id":"back-end","time_sent":"05-02-2020 10:20:51","type":"setup","contents":{"buttons":[{"disabled":false,"id":"start"}],"cameras":[{"link":"https://raccoon.games","name":"camera1"}],"devices":[{"description":"The telephone can ring and display a message. It will also record the numbers turned, and send these as sequence","id":"telephone","labels":["sound"]},{"description":"The operator webapp for managing a escape room","id":"front-end","labels":[]}],"events":[{"description":"De juiste volgorde van cijfers moet gedraaid worden.","eventName":"Telefoon puzzels","id":"correctSequence","puzzle":true,"status":false}],"hints":{"Telefoon puzzels":["De knop verzend jouw volgorde"]},"name":"Escape X"}}) != (string={"device_id":"back-end","time_sent":"05-02-2020 10:20:51","type":"setup","contents":{"buttons":[{"disabled":false,"id":"start"}],"cameras":[{"link":"https://raccoon.games","name":"camera1"}],"devices":[{"description":"The operator webapp for managing a escape room","id":"front-end","labels":[]},{"description":"The telephone can ring and display a message. It will also record the numbers turned, and send these as sequence","id":"telephone","labels":["sound"]}],"events":[{"description":"De juiste volgorde van cijfers moet gedraaid worden.","eventName":"Telefoon puzzels","id":"correctSequence","puzzle":true,"status":false}],"hints":{"Telefoon puzzels":["De knop verzend jouw volgorde"]},"name":"Escape X"}})
	2: PASS:  (int=3) == (int=3)
@GwennanS GwennanS added bug Something isn't working back-end This issue concerns back-end development labels Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end This issue concerns back-end development bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant