Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
梦中观雨
cat
提交
4db976af
C
cat
项目概览
梦中观雨
/
cat
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
cat
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4db976af
编写于
9月 19, 2012
作者:
F
Frankie Wu
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
ssh://192.168.8.22:58422/cat
上级
93cade89
4a6ce1cd
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
5 deletion
+4
-5
cat-home/src/main/webapp/jsp/report/health.jsp
cat-home/src/main/webapp/jsp/report/health.jsp
+0
-2
cat-home/src/main/webapp/jsp/report/healthHistory.jsp
cat-home/src/main/webapp/jsp/report/healthHistory.jsp
+0
-1
cat-home/src/test/java/com/dianping/cat/report/task/TaskConsumerTest.java
...t/java/com/dianping/cat/report/task/TaskConsumerTest.java
+4
-2
未找到文件。
cat-home/src/main/webapp/jsp/report/health.jsp
浏览文件 @
4db976af
...
@@ -13,8 +13,6 @@
...
@@ -13,8 +13,6 @@
<res:useCss
value=
"
${
res
.
css
.
local
.
health_css
}
"
target=
"head-css"
/>
<res:useCss
value=
"
${
res
.
css
.
local
.
health_css
}
"
target=
"head-css"
/>
<br>
<br>
<h2
style=
"text-align:center"
>
健康指数:***
</h2>
<div
style=
"float: left;width:100%"
>
<div
style=
"float: left;width:100%"
>
<div
style=
"width: 33%; float: left;"
>
<div
style=
"width: 33%; float: left;"
>
<table
class=
"health"
>
<table
class=
"health"
>
...
...
cat-home/src/main/webapp/jsp/report/healthHistory.jsp
浏览文件 @
4db976af
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
<res:useJs
value=
"
${
res
.
js
.
local
.
flotr2_js
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
.
flotr2_js
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
.
trendGraph_js
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
.
trendGraph_js
}
"
target=
"head-js"
/>
<br>
<br>
<h2
style=
"text-algin:center;"
>
健康指数:***
</h2>
<div
style=
"float: left;width:100%"
>
<div
style=
"float: left;width:100%"
>
<div
style=
"width: 33%; float: left;"
>
<div
style=
"width: 33%; float: left;"
>
<table
class=
"health"
>
<table
class=
"health"
>
...
...
cat-home/src/test/java/com/dianping/cat/report/task/TaskConsumerTest.java
浏览文件 @
4db976af
...
@@ -344,14 +344,16 @@ public class TaskConsumerTest {
...
@@ -344,14 +344,16 @@ public class TaskConsumerTest {
latch
.
countDown
();
latch
.
countDown
();
new
Thread
(
consumerTwo
).
start
();
new
Thread
(
consumerTwo
).
start
();
latch
.
countDown
();
latch
.
countDown
();
Thread
.
sleep
(
500
);
while
(!
consumerOne
.
isStopped
())
{
while
(!
consumerOne
.
isStopped
())
{
Thread
.
sleep
(
1
0
);
Thread
.
sleep
(
50
0
);
}
}
while
(!
consumerTwo
.
isStopped
())
{
while
(!
consumerTwo
.
isStopped
())
{
Thread
.
sleep
(
1
500
);
Thread
.
sleep
(
500
);
}
}
Assert
.
assertEquals
(
"[1, 8, 7, 10, 3, 1, 8, 4]"
,
Arrays
.
toString
(
consumerOne
.
replayer
.
toArray
()));
Assert
.
assertEquals
(
"[1, 8, 7, 10, 3, 1, 8, 4]"
,
Arrays
.
toString
(
consumerOne
.
replayer
.
toArray
()));
String
consumerTwoResult
=
Arrays
.
toString
(
consumerTwo
.
replayer
.
toArray
());
String
consumerTwoResult
=
Arrays
.
toString
(
consumerTwo
.
replayer
.
toArray
());
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录