When the option becomes so second-nature you forget that it’s an option
A user of the imaginaryProgram Qprogram wanted to write an automated test that created a table,then ran various sub-test which communicated among each otherby updating that table.
When my test tries to create a table,the program asks the following question:
q install server -r testdbSetting up this machine to be a registered table server…
Registered table servers must adhere to Microsoft information security policies. See http://programq/policy for details. If you have questions, contact mailto:qpolicy.
Do you agree to adhere to Microsoft policies regarding registered table servers (y/n/q)?
Is there a way to suppress the question?I can’t pre-create a single server that all the testsconnect to,because multiple tests running simultaneously wouldend up colliding with each other.I would prefer that each test run on its own isolatedtable server,but when I try to install a table server on the machinebeing tested,I get the above prompt.
Why not just create an unregistered table server instead?Just leave off the -r
flag.Give your problem description, there appears to beno need for the table server to be registered.
Ah, didn’t know about the ability to create an unregisteredserver.Works great!
The user was apparently so accustomed to creatingregistered table servers that he didn’t realize that therewas any other kind.My guess is that he had no idea what the-r
flag did;he just cargo-culted it from somewhere.
Remember:The target audience for Program Q is notnon-technical end-users.The target audience is other programmers,and this person was clearly a programmer since hewas writing an automated test!
0 comments