Test Case Index

Test Case source

svsemantest

Svsematest measures interthread SystemV semaphore latency. The test svsematest starts two threads or, optionally, forks two processes that are synchronized via SYSV semaphores and measures the latency between releasing a semaphore on one side and getting it on the other side.

Example JSON job file

{
    "device_type": "arndale",
    "health_check": false,
    "job_name": "example svsemantest",
    "timeout": 1800
    "actions": [
        {
            "command": "deploy_linaro_image",
            "parameters": {
                "image": "<IMAGE_URL>"
            }
        },
        {
            "command": "lava_test_shell",
            "parameters": {
                "testdef_repos": [
                    {
                        "git-repo": "git://git.linaro.org/qa/test-definitions.git",
                        "testdef": "ubuntu/svsematest.yaml"
                    }
                ],
                "timeout": 900
            }
        },

        {
            "command": "submit_results",
            "parameters": {
                "server": "http://username@your.lava.server/RPC2/",
                "stream": "/your/bundle/stream/",
                "token": "<your_token>"
            }
        }
    ],
}

Platform/QA/TestCases/Automated/ubuntu_svsemantest (last modified 2016-03-30 19:39:42)