geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Lund (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-2012) Test rolling stat archive after closing a resource instance
Date Wed, 02 Nov 2016 20:54:58 GMT

     [ https://issues.apache.org/jira/browse/GEODE-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kirk Lund updated GEODE-2012:
-----------------------------
    Description: 
Need to test this scenario:

1) create resource instance of new type
2) sample so that resource instance and type are written to gfs
3) close resource instance so no instances exist of that type
4) sample
5) roll gfs archive
6) sample
7) create new resource instance of same type
8) sample
9) verify that resource instance and type were both written to gfs

The resulting gfs archive file after #5 contains a resource instance with no corresponding
resource type. Attempting to read the file in with StatArchiveReader will throw a NullPointerException
(GEODE-2013).


  was:
Need to test this scenario:

1) create resource instance of new type
2) sample so that resource instance and type are written to gfs
3) close resource instance so no instances exist of that type
4) sample
5) roll gfs archive
6) sample
7) create new resource instance of same type
8) sample
9) verify that resource instance and type were both written to gfs




> Test rolling stat archive after closing a resource instance
> -----------------------------------------------------------
>
>                 Key: GEODE-2012
>                 URL: https://issues.apache.org/jira/browse/GEODE-2012
>             Project: Geode
>          Issue Type: Bug
>          Components: statistics
>    Affects Versions: 1.0.0-incubating
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>             Fix For: 1.1.0-incubating
>
>
> Need to test this scenario:
> 1) create resource instance of new type
> 2) sample so that resource instance and type are written to gfs
> 3) close resource instance so no instances exist of that type
> 4) sample
> 5) roll gfs archive
> 6) sample
> 7) create new resource instance of same type
> 8) sample
> 9) verify that resource instance and type were both written to gfs
> The resulting gfs archive file after #5 contains a resource instance with no corresponding
resource type. Attempting to read the file in with StatArchiveReader will throw a NullPointerException
(GEODE-2013).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message