Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Manipulate file/directory/volume permissions to cause error/failure
  • Mimic AFS outage via unmount volumes or other means (iptables)

Testing Tools that rely on the resources service/tool and or implemented their own resource solution

Samigo : Uses its own resource implementation

  • Functionality:
    • The question type "File Upload" stores the uploaded file in "/var/samigo/jsf" --> "/afs/.ucdavis.edu/ap p/sakai/misc/samigo/smrtsite/jsf"
  • How To Test:
    • Create a quiz that contains at least one question of type "File Upload". Publish the quiz and take it as a student. Once the student has submitted the quiz, an instructor access the submitted quiz and retrieves the uploaded file.
    • (Extended Test) Take the quiz as another student.
    • (Extended Test) Take the quiz as another student but upload the same file (same file name) that the first student uploaded.
  • Expected Outcome:
    • After the student has uploaded the file. The file should be retrievable when the instructor looks at the submitted quiz. Also, the file needs to be present in the above defined location in AFS space.

Melete : Uses its own resource implementation

  • Functionality:
    • During the Content Section creation step, you can choose to "upload a file for this section's content"
    • The uploaded file is temporarily stored at: "/var/uploads" --> "/afs/.ucdavis.edu/app/sakai/misc/melete/smartsite/uploads"
    • After temporarily storing it in "/var/uploads" the file is moved to: /var/meleteDocs" --> "/afs/.ucdavis.edu/app/sakai/misc/melete/smartsite/meleteDocs"
      • Under meleteDocs, melete creates sub-folders, one per instructor (author) e.g. meleteDocs/inst_<some user name> (e.g. inst_tpa) and finally stores all the content in there.
  • How To Test:
    • Add a module (test module 1)
    • Add a content section (test section 1)
    • In the "You can create content for this section in one of three ways:" part, select "upload a file for this section's content"
    • Browse to file and click add
    • Click on Finish
  • Expected Outcome:
  • After clicking on "View" and selecting "test module 1" --> "test section 1", you should see the content of the uploaded file displayed in that page. Also, the file need to be present in the