Advanced Capstone 3.6

Hello,

 

I am working on section 3.6 of the advanced capstone, but am failing two tests. The first test that I am failing fiauser can’t run tables. I believe that statement corresponds with the below query and response. In the way I interpreted the question, I believe that this should be the correct output. My signal statement is ('`notAuthorized). Is my not Authorized in the wrong type or spelling or something causing me to fail the test?

My second problem is around evaluating “.fia.getSummaryReport”. When I run it I get an errror that says sensor. This leads me to believe I loaded the database in wrong in problem 3.1 or the keyword value is not the word for this problem. I loaded in the database in 3.1 with

hdbH:hopen ::5099 hdbH hsym $“/developer-1.5.0-linux/workspace/__nouser__/training/f1”

 

My database looks like the following:

I am think my if statement is correct for the problem I just need to evaluate the branches of the if statement properly. Any help or hints would be greatly appreciated.

Thank you,

Doug

Hi Doug,

I have added the test case for 3.6 below so you can better see which part is failing - if you’re still stuck can you add a screenshot of output when you run testSection[`exercise3] so I can better advise as there are a few different tests.

 

feature exercise3.6
before
.test.fiahandle:hopen ::5099:fiauser:getmeallthedata;<br> should define .z.pg on remote process<br> expect<br> 100h~type .test.randomHandle".z.pg"<br> should fiauser can run one function<br> expect<br> 99h~type .test.fiahandle".fia.getSummaryReport[]"<br> should fiauser cant run tables[]<br> expect<br> notAuthorized~@[.test.fiahandle;“tables”;{x}]
should team members can run any function
expect
11h~ type .test.randomHandle"\f"

 

 

Hi Michaela,

Thank you for your response. I am still struggling with the problem. I am unable to get the fiauser can’t run tables to show its type because I have a signal. I have attached my output below. 

Thank you for your help,

Doug

 

 

Ok so the exercise is expecting a symbol  `notAuthorized to be returned in the terminal - rather than as a signal in the error banner. 

Hi Michaela,

Thank you! That fixed fiauser can’t run table. I am still very confused on the other problem that I am missing. I believe my issue stems back to me incorrectly loading the table in section 3.1, but there is no test for that. How can I find out if I correctly loaded the tables in or not?

Thank you,

Doug

Your database should look like the following:

If you’re not sure what gone wrong that yours has integer values rather than P1P2P3Q1- perhaps restart a fresh classroom and run each line checking database as you go to see when it changes.