Speed up YT891 test 43/86643/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 30 Dec 2019 14:59:06 +0000 (15:59 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 30 Dec 2019 21:18:16 +0000 (22:18 +0100)
commit0f761d195da680f03b5454b4246922cb8ebb50a9
tree9d089030b912ccede6532ac4b2eb8bc8345a8899
parent0e968275db60da2d35fe6f17b29c2d93d0813fb6
Speed up YT891 test

Rather than parsing SchemaContext multiple times, just use @BeforeClass
to initialize it once.

Change-Id: I4c9e5c30a2767bab35133557121e0ff1710e688c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit d76d0664c6090138b90d3e184746d5f9af64b3ea)
yang/yang-data-codec-xml/src/test/java/org/opendaylight/yangtools/yang/data/codec/xml/Yangtools891Test.java