用例重跑有两种方法,利用pytest-rerunfailures包,和直接使用@pytest.mark.flaky(reruns=重跑次数,reruns_delay=间隔时间)装饰器。 pytest-rerunfailures包 需安装插件 pip installpytest-rerunfailur ...
分类:
其他好文 时间:
2020-11-30 15:34:12
阅读次数:
5
[oracle@wallet01 ~]$ cat /home/oracle/script/full_backup.sh #!/bin/bash if [ -f ~/.bash_profile ]; then . ~/.bash_profile fi export SH_HOME=/home/orac ...
分类:
数据库 时间:
2020-11-26 15:19:56
阅读次数:
23
select * from v$sql select row_number() over (order by a.username, a.client_info, a.terminal) as id , a.username, a.sid, a.serial# as serial_id, a.cli ...
分类:
数据库 时间:
2020-11-26 14:51:52
阅读次数:
9
# Create your views here.import jsonfrom django.shortcuts import renderfrom django.shortcuts import renderfrom django.http import HttpResponse, HttpRe ...
分类:
其他好文 时间:
2020-11-26 14:35:15
阅读次数:
6
1、Session 的创建和销毁 page 指定的 session 属性: 1). 默认情况下, 第一次访问一个 WEB 应用的一个 JSP 页面时, 该页面都必须有一个和这个请求相关联的 Session 对象. 因为 page 指定的 session 属性默认为 true 2). 若把 sessi ...
分类:
其他好文 时间:
2020-11-26 14:17:36
阅读次数:
7
1、把主键定义为自动增长标识符类型 MySql 在mysql中,如果把表的主键设为auto_increment类型,数据库就会自动为主键赋值。例如: create table customers(id int auto_increment primary key not null, name var ...
分类:
数据库 时间:
2020-11-26 14:09:06
阅读次数:
11
Oracle Data Guard 报错 ORA-16057: Data Guard 配置中没有服务器
分类:
数据库 时间:
2020-11-25 12:59:34
阅读次数:
14
创建: 2020/11/21 完成: 2020/11/21, 注: 省略ArrayList java.util.* TODO: 补充ArrayList https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html 简介 动态数组 ...
分类:
编程语言 时间:
2020-11-25 12:45:46
阅读次数:
9
[root@wallet01 ~]# su - grid [grid@wallet01 ~]$ crsctl check cluster -all ************************************************************** wallet01: CRS ...
分类:
数据库 时间:
2020-11-24 12:43:06
阅读次数:
10
sql优化 一、概述 数据库优化主要有两个方向:即安全与性能 show processlist(查看链接session状态) explain(分析查询计划),show index from table(分析索引) 通过执行计划判断,索引问题(有没有、合不合理)或者语句本身问题 show status ...
分类:
数据库 时间:
2020-11-23 11:47:54
阅读次数:
50