You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Nicolas Modrzyk (JIRA)" <ji...@apache.org> on 2007/08/01 07:27:52 UTC

[jira] Created: (ODE-161) simple scheduler timing too fast

simple scheduler timing too fast 
---------------------------------

                 Key: ODE-161
                 URL: https://issues.apache.org/jira/browse/ODE-161
             Project: ODE
          Issue Type: Bug
          Components: Build System
         Environment: OSX JVM 1.5 and 1.6beta
            Reporter: Nicolas Modrzyk
            Priority: Trivial


The timing to wake up the main thread in SimpleSchedulerTest is too fast? on my machine.
This leads to a systematic failure. 

If the timing is slightly changed it works 100%.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ODE-161) simple scheduler timing too fast

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518802 ] 

Matthieu Riou commented on ODE-161:
-----------------------------------

Any update about this problem?

> simple scheduler timing too fast 
> ---------------------------------
>
>                 Key: ODE-161
>                 URL: https://issues.apache.org/jira/browse/ODE-161
>             Project: ODE
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.0-incubating
>         Environment: OSX JVM 1.5 and 1.6beta
>            Reporter: Nicolas Modrzyk
>            Priority: Trivial
>             Fix For: 1.1
>
>         Attachments: SimpleSchedulerTest.diff
>
>
> The timing to wake up the main thread in SimpleSchedulerTest is too fast? on my machine.
> This leads to a systematic failure. 
> If the timing is slightly changed it works 100%.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ODE-161) simple scheduler timing too fast

Posted by "Nicolas Modrzyk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518900 ] 

Nicolas Modrzyk commented on ODE-161:
-------------------------------------

Sorry about the delay.

Failure would be:
Testcase: testRecoverySuppressed took 4.017 sec
        FAILED
expected:<0> but was:<1>
junit.framework.AssertionFailedError: expected:<0> but was:<1>
        at org.apache.ode.scheduler.simple.SimpleSchedulerTest.testRecoverySuppressed(SimpleSchedulerTest.java:195)

Not sure what other info I can provide, just that the main thread seems to be slightly in delay with the scheduler.

> simple scheduler timing too fast 
> ---------------------------------
>
>                 Key: ODE-161
>                 URL: https://issues.apache.org/jira/browse/ODE-161
>             Project: ODE
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.0-incubating
>         Environment: OSX JVM 1.5 and 1.6beta
>            Reporter: Nicolas Modrzyk
>            Priority: Trivial
>             Fix For: 1.1
>
>         Attachments: SimpleSchedulerTest.diff
>
>
> The timing to wake up the main thread in SimpleSchedulerTest is too fast? on my machine.
> This leads to a systematic failure. 
> If the timing is slightly changed it works 100%.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-161) simple scheduler timing too fast

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Riou updated ODE-161:
------------------------------

        Fix Version/s: 1.1
    Affects Version/s: 1.0-incubating

> simple scheduler timing too fast 
> ---------------------------------
>
>                 Key: ODE-161
>                 URL: https://issues.apache.org/jira/browse/ODE-161
>             Project: ODE
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.0-incubating
>         Environment: OSX JVM 1.5 and 1.6beta
>            Reporter: Nicolas Modrzyk
>            Priority: Trivial
>             Fix For: 1.1
>
>         Attachments: SimpleSchedulerTest.diff
>
>
> The timing to wake up the main thread in SimpleSchedulerTest is too fast? on my machine.
> This leads to a systematic failure. 
> If the timing is slightly changed it works 100%.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ODE-161) simple scheduler timing too fast

Posted by "Nicolas Modrzyk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Modrzyk updated ODE-161:
--------------------------------

    Attachment: SimpleSchedulerTest.diff

this is the new timing I am using.

> simple scheduler timing too fast 
> ---------------------------------
>
>                 Key: ODE-161
>                 URL: https://issues.apache.org/jira/browse/ODE-161
>             Project: ODE
>          Issue Type: Bug
>          Components: Build System
>         Environment: OSX JVM 1.5 and 1.6beta
>            Reporter: Nicolas Modrzyk
>            Priority: Trivial
>         Attachments: SimpleSchedulerTest.diff
>
>
> The timing to wake up the main thread in SimpleSchedulerTest is too fast? on my machine.
> This leads to a systematic failure. 
> If the timing is slightly changed it works 100%.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ODE-161) simple scheduler timing too fast

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Riou resolved ODE-161.
-------------------------------

    Resolution: Fixed
      Assignee: Matthieu Riou

Fixed it a few days ago (and forgot about it).

> simple scheduler timing too fast 
> ---------------------------------
>
>                 Key: ODE-161
>                 URL: https://issues.apache.org/jira/browse/ODE-161
>             Project: ODE
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.0-incubating
>         Environment: OSX JVM 1.5 and 1.6beta
>            Reporter: Nicolas Modrzyk
>            Assignee: Matthieu Riou
>            Priority: Trivial
>             Fix For: 1.1
>
>         Attachments: SimpleSchedulerTest.diff
>
>
> The timing to wake up the main thread in SimpleSchedulerTest is too fast? on my machine.
> This leads to a systematic failure. 
> If the timing is slightly changed it works 100%.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ODE-161) simple scheduler timing too fast

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516973 ] 

Matthieu Riou commented on ODE-161:
-----------------------------------

Can you describe the failure and/or provide some logs? It sounds like some sort of concurrency issue that your modified timing alleviates but it would be nice to see what the original problem is. Thanks!

> simple scheduler timing too fast 
> ---------------------------------
>
>                 Key: ODE-161
>                 URL: https://issues.apache.org/jira/browse/ODE-161
>             Project: ODE
>          Issue Type: Bug
>          Components: Build System
>         Environment: OSX JVM 1.5 and 1.6beta
>            Reporter: Nicolas Modrzyk
>            Priority: Trivial
>         Attachments: SimpleSchedulerTest.diff
>
>
> The timing to wake up the main thread in SimpleSchedulerTest is too fast? on my machine.
> This leads to a systematic failure. 
> If the timing is slightly changed it works 100%.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.