Hi,

the Testcontainers Project solves this extremely efficient und elegant and has 
an nice integration to Junit.
And Controls the complete lifecycle of the containers:

https://www.testcontainers.org/test_framework_integration/junit_4/

Julian

Am 17.06.20, 10:00 schrieb "Xiangdong Huang" <[email protected]>:

    Hi  Julian,

    > Especially with TestContainers it would be very easy to startup an IoTDB
    Server in an container and perform some testing against it.

    Yes if we can run iotdb instance in containers for test, it could be fine.

    But the concern is that can it work together with JUnit and TravisCI?

    Best,
    -----------------------------------
    Xiangdong Huang
    School of Software, Tsinghua University

     黄向东
    清华大学 软件学院


    Julian Feinauer <[email protected]> 于2020年6月17日周三 下午3:28写道:

    > Probabl.y we could try to set up integration tests fort hat.
    > Especially with TestContainers it would be very easy to startup an IoTDB
    > Server in an container and perform some testing against it.
    >
    > Julian
    >
    > Am 17.06.20, 09:13 schrieb "李天安" <[email protected]>:
    >
    >     Hi,
    >
    >     In the sync tool, the receiver will compare the versions of IoTDB with
    > the sender's and rejects the synchronization task if the versions are
    > different.
    >
    >     In the load tool, the engine will check the version number of tsfile
    > and will reject the load operation if the version doesn't match with the
    > engine's.
    >
    >
    >     Best Regards,
    >     —————————————————
    >     Tianan Li
    >     School of Software, Tsinghua University
    >
    >     李天安
    >     清华大学 软件学院
    >
    >
    >     > -----原始邮件-----
    >     > 发件人: "Xiangdong Huang" <[email protected]>
    >     > 发送时间: 2020-06-17 09:15:03 (星期三)
    >     > 收件人: dev <[email protected]>
    >     > 抄送:
    >     > 主题: Re: Using Sync Tool with IoTDB Server
    >     >
    >     > Hi,
    >     >
    >     > I have a question, is the load or sync function supports
    > communication
    >     > among different versions (e.g., load tsfile of 0.9 to 0.10.0)? If
    > not, is
    >     > there a check?
    >     >
    >     > Best,
    >     > -----------------------------------
    >     > Xiangdong Huang
    >     > School of Software, Tsinghua University
    >     >
    >     >  黄向东
    >     > 清华大学 软件学院
    >     >
    >     >
    >     > 李天安 <[email protected]> 于2020年6月17日周三 上午1:27写道:
    >     >
    >     > > Hi Julian,
    >     > >
    >     > > In sync tool, before data synchronization, all schemas will be
    >     > > synchronized first, so the schema of each tsfile transmitted is
    > guaranteed
    >     > > to exist.
    >     > > Synchronous schema adopts incremental method.
    >     > >
    >     > >
    >     > > Best Regards,
    >     > > —————————————————
    >     > > Tianan Li
    >     > > School of Software, Tsinghua University
    >     > >
    >     > > 李天安
    >     > > 清华大学 软件学院
    >     > >
    >     > > > -----原始邮件-----
    >     > > > 发件人: "Julian Feinauer" <[email protected]>
    >     > > > 发送时间: 2020-06-15 18:36:49 (星期一)
    >     > > > 收件人: "[email protected]" <[email protected]>
    >     > > > 抄送:
    >     > > > 主题: Using Sync Tool with IoTDB Server
    >     > > >
    >     > > > Hi folks,
    >     > > >
    >     > > > just a short question regarding the Sync Tool from IoTDB.
    >     > > > If I have a plain tsfile that I sync via the sync tool to the
    > server are
    >     > > then all names from the timeseries picked automatically and
    > entered in the
    >     > > MTree and all?
    >     > > > Or do I have to configure something upfront?
    >     > > >
    >     > > > Thanks!
    >     > > > Julian
    >     > >
    >
    >

Reply via email to