【24h】

Model-Based Testing of the Gorums Framework for Fault-Tolerant Distributed Systems

机译:容错分布式系统Gorums框架的基于模型的测试

获取原文
获取原文并翻译 | 示例

摘要

Data replication is a central mechanism for the engineering of fault-tolerant distributed systems, and is used in the realization of most cloud computing services. This paper explores the use of Coloured Petri Nets (CPNs) for model-based testing of quorum-based distributed systems. We have developed an approach to model-based testing of fault-tolerant services implemented using the Go language and the Gorums framework. We show how a CPN model can be used to obtain both unit test cases for the quorum logic functions, and system level test cases consisting of quorum calls. The CPN model is also used to obtain the test oracles against which the result of running a test case can be compared. We demonstrate the application of our approach by considering an implementation of a distributed storage service on which we obtain 100% code coverage for the quorum functions, 96.7% statement coverage on the quorum calls, and 52.3% coverage on the Gorums framework. We demonstrate similar encouraging results also on a more complex Gorums-based implementation of the Paxos consensus protocol.
机译:数据复制是用于容错分布式系统工程的中心机制,并且用于大多数云计算服务的实现。本文探讨了彩色Petri网(CPN)在基于群体的分布式系统的基于模型的测试中的使用。我们已经开发出一种方法,用于使用Go语言和Gorums框架实现的容错服务的基于模型的测试。我们展示了如何使用CPN模型来获得法定逻辑功能的单元测试用例和包含法定调用的系统级测试用例。 CPN模型还用于获得测试预言,可以将测试预言与运行测试用例的结果进行比较。我们通过考虑实现分布式存储服务来演示我们方法的应用,在该服务上,我们获得了quorum函数的100%代码覆盖率,quorum调用的96.7%语句覆盖率以及Gorums框架的52.3%覆盖率。在Paxos共识协议的更复杂的基于Gorums的实现上,我们也展示了类似的令人鼓舞的结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号