public void TestFailCheck()
        {
            testName = "TestFailCheck";
            SetUpTest(true);

            DatabaseEnvironmentConfig cfg =
                new DatabaseEnvironmentConfig();
            cfg.Create = true;
            cfg.UseTxns = true;
            cfg.UseMPool = true;
            cfg.UseLogging = true;
            cfg.UseLocking = true;
            cfg.FreeThreaded = true;
            cfg.ThreadIsAlive = new ThreadIsAliveDelegate(ThrdAlive);
            cfg.SetThreadID = new SetThreadIDDelegate(SetThrdID);
            cfg.ThreadCount = 10;
            testFailCheckEnv = DatabaseEnvironment.Open(testHome, cfg);

            Thread thread = new Thread(new ThreadStart(WriteThreadWithoutTxnCommit));
            thread.Start();
            thread.Join();
            testFailCheckEnv.FailCheck();
            testFailCheckEnv.Close();
        }