2023.08.31 07:44 AM
Hi there,
I have made necessary changes to the sensor table on disk as well as making some code changes the viz.getModSensor function in order to get the timing halved. Testing it in scratch before and after validates this, however when I save my changes to viz.getModSensor and run the testSection[`exercise2] I get 2 fails. I have verified that the before and after results also match, which is confusing. Would appreciate any guidance on this please.
quizItem success description error
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
exercise2.1 Pass "check if race day in process" ""
exercise2.1 Pass "have correct schema" ""
exercise2.2 Pass "check if lap table in process" ""
exercise2.2 Pass "only contains data for 2nd Jan 2020" ""
exercise2.2 Pass "contain all columns for 2nd Jan 2020" ""
exercise2.3 Pass "not allowed to use select keyword" ""
exercise2.3 Pass "return correct values for temp" ""
exercise2.3 Pass "return correct values for wind" ""
exercise2.3 Pass "return correct values for all" ""
exercise2.4 Pass "when given the wrong option return error \"<mysensor> is not a valid option for mysensor - valid options include `temp`tyre`wind`all\"" ""
exercise2.5 Fail "func should return same result as before" ".test.table2.5"
exercise2.5 Fail ".viz.createDashboard should run in half the time"
2023.09.04 02:35 AM
2.5 Test case
W.r.t pass having now becoming a fail I would advise logging out and restarting a new session. And then running all your changes from scratch, as its a performance based one sometime other changes can impact so testing is a little more fragile.
2023.08.31 08:25 AM
Hi @Coleslaw !
Here is a similar post that was asked on the community. Solved: Advanced Capstone quizzes 2.4.2 and 2.5.1 - KX Community - 11053
If your still having problems, feel free to reach out!
Megan 🙂
2023.09.04 02:30 AM
Hi @megan_mcp
Thanks for the reply but I'm unable to access that link. Any chance you can paste it in here please?
Regards,
Paul
2023.09.04 02:35 AM
2.5 Test case
W.r.t pass having now becoming a fail I would advise logging out and restarting a new session. And then running all your changes from scratch, as its a performance based one sometime other changes can impact so testing is a little more fragile.
2023.09.04 02:44 AM
Many thanks @megan_mcp!
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.